tuil
ReferencePackages@mwillbanks/tuil-editorAPI

EditorSelection

interface exported by @mwillbanks/tuil-editor.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-editor.

export interface EditorSelection extends EditorRange {
  readonly primary?: boolean;
}

Members

MemberTypeRequiredDescriptionRelated types
primaryboolean | undefinedNoThe primary member uses the boolean | undefined contract.
anchorEditorPositionYesThe anchor member uses the EditorPosition contract.EditorPosition
headEditorPositionYesThe head member uses the EditorPosition contract.EditorPosition

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-editor

On this page