Class: DEPRECATED_GridCellNode
lexical.DEPRECATED_GridCellNode
Hierarchy
↳
DEPRECATED_GridCellNode
Constructors
constructor
• new DEPRECATED_GridCellNode(colSpan
, key?
)
Parameters
Name | Type |
---|---|
colSpan | number |
key? | string |
Overrides
Defined in
lexical/src/nodes/LexicalGridCellNode.ts:31
Properties
__rowSpan
• __rowSpan: number
Defined in
lexical/src/nodes/LexicalGridCellNode.ts:29
Methods
exportJSON
▸ exportJSON(): SerializedGridCellNode
Controls how the this node is serialized to JSON. This is important for copy and paste between Lexical editors sharing the same namespace. It's also important if you're serializing to JSON for persistent storage somewhere. See Serialization & Deserialization.
Returns
Overrides
Defined in
lexical/src/nodes/LexicalGridCellNode.ts:37
setColSpan
▸ setColSpan(colSpan
): DEPRECATED_GridCellNode
Parameters
Name | Type |
---|---|
colSpan | number |
Returns
Defined in
lexical/src/nodes/LexicalGridCellNode.ts:44
setRowSpan
▸ setRowSpan(rowSpan
): DEPRECATED_GridCellNode
Parameters
Name | Type |
---|---|
rowSpan | number |
Returns
Defined in
lexical/src/nodes/LexicalGridCellNode.ts:49