Interface: BaseSelection
lexical.BaseSelection
Implemented by
Properties
dirty
• dirty: boolean
Defined in
lexical/src/LexicalSelection.ts:267
Methods
clone
▸ clone(): BaseSelection
Returns
Defined in
lexical/src/LexicalSelection.ts:266
extract
▸ extract(): LexicalNode
[]
Returns
Defined in
lexical/src/LexicalSelection.ts:268
getNodes
▸ getNodes(): LexicalNode
[]
Returns
Defined in
lexical/src/LexicalSelection.ts:269
getTextContent
▸ getTextContent(): string
Returns
string
Defined in
lexical/src/LexicalSelection.ts:270
insertRawText
▸ insertRawText(text
): void
Parameters
Name | Type |
---|---|
text | string |
Returns
void
Defined in
lexical/src/LexicalSelection.ts:271
is
▸ is(selection
): boolean
Parameters
Name | Type |
---|---|
selection | null | RangeSelection | GridSelection | NodeSelection |
Returns
boolean
Defined in
lexical/src/LexicalSelection.ts:272