Interface: BaseSelection
lexical/src.BaseSelection
Implemented by
Properties
dirty
• dirty: boolean
Defined in
lexical/src/LexicalSelection.ts:243
Methods
clone
▸ clone(): BaseSelection
Returns
Defined in
lexical/src/LexicalSelection.ts:242
extract
▸ extract(): LexicalNode
[]
Returns
Defined in
lexical/src/LexicalSelection.ts:244
getNodes
▸ getNodes(): LexicalNode
[]
Returns
Defined in
lexical/src/LexicalSelection.ts:245
getTextContent
▸ getTextContent(): string
Returns
string
Defined in
lexical/src/LexicalSelection.ts:246
insertRawText
▸ insertRawText(text
): void
Parameters
Name | Type |
---|---|
text | string |
Returns
void
Defined in
lexical/src/LexicalSelection.ts:247
is
▸ is(selection
): boolean
Parameters
Name | Type |
---|---|
selection | null | RangeSelection | NodeSelection | GridSelection |
Returns
boolean
Defined in
lexical/src/LexicalSelection.ts:248