Class: DEPRECATED_GridRowNode
lexical.DEPRECATED_GridRowNode
Hierarchy
↳
DEPRECATED_GridRowNode
↳↳
TableRowNode
Constructors
constructor
• new DEPRECATED_GridRowNode(key?
)
Parameters
Name | Type |
---|---|
key? | string |
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:64
Methods
append
▸ append(...nodesToAppend
): DEPRECATED_GridRowNode
Parameters
Name | Type |
---|---|
...nodesToAppend | LexicalNode [] |
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:308
canBeEmpty
▸ canBeEmpty(): boolean
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:484
canExtractContents
▸ canExtractContents(): boolean
Returns
boolean
Inherited from
ElementNode.canExtractContents
Defined in
lexical/src/nodes/LexicalElementNode.ts:475
canIndent
▸ canIndent(): boolean
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:461
canInsertAfter
▸ canInsertAfter(node
): boolean
Parameters
Name | Type |
---|---|
node | LexicalNode |
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:481
canInsertTab
▸ canInsertTab(): boolean
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:458
canInsertTextAfter
▸ canInsertTextAfter(): boolean
Returns
boolean
Inherited from
ElementNode.canInsertTextAfter
Defined in
lexical/src/nodes/LexicalElementNode.ts:490
canInsertTextBefore
▸ canInsertTextBefore(): boolean
Returns
boolean
Inherited from
ElementNode.canInsertTextBefore
Defined in
lexical/src/nodes/LexicalElementNode.ts:487
canMergeWith
▸ canMergeWith(node
): boolean
Parameters
Name | Type |
---|---|
node | ElementNode |
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:503
canReplaceWith
▸ canReplaceWith(replacement
): boolean
Parameters
Name | Type |
---|---|
replacement | LexicalNode |
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:478
clear
▸ clear(): DEPRECATED_GridRowNode
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:302
collapseAtStart
▸ collapseAtStart(selection
): boolean
Parameters
Name | Type |
---|---|
selection | RangeSelection |
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:469
excludeFromCopy
▸ excludeFromCopy(destination?
): boolean
Parameters
Name | Type |
---|---|
destination? | "html" | "clone" |
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:472
exportJSON
▸ exportJSON(): SerializedElementNode
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:444
extractWithChild
▸ extractWithChild(child
, selection
, destination
): boolean
Parameters
Name | Type |
---|---|
child | LexicalNode |
selection | null | RangeSelection | NodeSelection | GridSelection |
destination | "html" | "clone" |
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:506
getAllTextNodes
▸ getAllTextNodes(): TextNode
[]
Returns
TextNode
[]
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:116
getChildAtIndex
▸ getChildAtIndex<T
>(index
): null
| T
Type parameters
Name | Type |
---|---|
T | extends LexicalNode <T > |
Parameters
Name | Type |
---|---|
index | number |
Returns
null
| T
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:211
getChildren
▸ getChildren<T
>(): T
[]
Type parameters
Name | Type |
---|---|
T | extends LexicalNode <T > |
Returns
T
[]
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:84
getChildrenKeys
▸ getChildrenKeys(): string
[]
Returns
string
[]
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:96
getChildrenSize
▸ getChildrenSize(): number
Returns
number
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:99
getDescendantByIndex
▸ getDescendantByIndex<T
>(index
): null
| T
Type parameters
Name | Type |
---|---|
T | extends LexicalNode <T > |
Parameters
Name | Type |
---|---|
index | number |
Returns
null
| T
Inherited from
ElementNode.getDescendantByIndex
Defined in
lexical/src/nodes/LexicalElementNode.ts:159
getDirection
▸ getDirection(): null
| "ltr"
| "rtl"
Returns
null
| "ltr"
| "rtl"
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:237
getFirstChild
▸ getFirstChild<T
>(): null
| T
Type parameters
Name | Type |
---|---|
T | extends LexicalNode <T > |
Returns
null
| T
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:179
getFirstChildOrThrow
▸ getFirstChildOrThrow<T
>(): T
Type parameters
Name | Type |
---|---|
T | extends LexicalNode <T > |
Returns
T
Inherited from
ElementNode.getFirstChildOrThrow
Defined in
lexical/src/nodes/LexicalElementNode.ts:188
getFirstDescendant
▸ getFirstDescendant<T
>(): null
| T
Type parameters
Name | Type |
---|---|
T | extends LexicalNode <T > |
Returns
null
| T
Inherited from
ElementNode.getFirstDescendant
Defined in
lexical/src/nodes/LexicalElementNode.ts:131
getFormat
▸ getFormat(): number
Returns
number
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:72
getFormatType
▸ getFormatType(): ElementFormatType
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:76
getIndent
▸ getIndent(): number
Returns
number
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:80
getLastChild
▸ getLastChild<T
>(): null
| T
Type parameters
Name | Type |
---|---|
T | extends LexicalNode <T > |
Returns
null
| T
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:195
getLastChildOrThrow
▸ getLastChildOrThrow<T
>(): T
Type parameters
Name | Type |
---|---|
T | extends LexicalNode <T > |
Returns
T
Inherited from
ElementNode.getLastChildOrThrow
Defined in
lexical/src/nodes/LexicalElementNode.ts:204
getLastDescendant
▸ getLastDescendant<T
>(): null
| T
Type parameters
Name | Type |
---|---|
T | extends LexicalNode <T > |
Returns
null
| T
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:145
getTextContent
▸ getTextContent(): string
Returns
string
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:220
hasFormat
▸ hasFormat(type
): boolean
Parameters
Name | Type |
---|---|
type | ElementFormatType |
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:241
insertNewAfter
▸ insertNewAfter(selection
): null
| LexicalNode
Parameters
Name | Type |
---|---|
selection | RangeSelection |
Returns
null
| LexicalNode
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:455
isDirty
▸ isDirty(): boolean
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:106
isEmpty
▸ isEmpty(): boolean
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:103
isInline
▸ isInline(): boolean
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:493
isLastChild
▸ isLastChild(): boolean
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:111
isShadowRoot
▸ isShadowRoot(): boolean
Returns
boolean
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:500
select
▸ select(_anchorOffset?
, _focusOffset?
): RangeSelection
Parameters
Name | Type |
---|---|
_anchorOffset? | number |
_focusOffset? | number |
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:251
selectEnd
▸ selectEnd(): RangeSelection
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:291
selectStart
▸ selectStart(): RangeSelection
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:280
setDirection
▸ setDirection(direction
): DEPRECATED_GridRowNode
Parameters
Name | Type |
---|---|
direction | null | "ltr" | "rtl" |
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:311
setFormat
▸ setFormat(type
): DEPRECATED_GridRowNode
Parameters
Name | Type |
---|---|
type | ElementFormatType |
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:316
setIndent
▸ setIndent(indentLevel
): DEPRECATED_GridRowNode
Parameters
Name | Type |
---|---|
indentLevel | number |
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:321
splice
▸ splice(start
, deleteCount
, nodesToInsert
): DEPRECATED_GridRowNode
Parameters
Name | Type |
---|---|
start | number |
deleteCount | number |
nodesToInsert | LexicalNode [] |
Returns
Inherited from
Defined in
lexical/src/nodes/LexicalElementNode.ts:326