Skip to main content

Class: DEPRECATED_GridCellNode

lexical.DEPRECATED_GridCellNode

Hierarchy

Constructors

constructor

new DEPRECATED_GridCellNode(colSpan, key?)

Parameters

NameType
colSpannumber
key?string

Overrides

ElementNode.constructor

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

SerializedGridCellNode

Overrides

ElementNode.exportJSON

Defined in

lexical/src/nodes/LexicalGridCellNode.ts:37


setColSpan

setColSpan(colSpan): DEPRECATED_GridCellNode

Parameters

NameType
colSpannumber

Returns

DEPRECATED_GridCellNode

Defined in

lexical/src/nodes/LexicalGridCellNode.ts:44


setRowSpan

setRowSpan(rowSpan): DEPRECATED_GridCellNode

Parameters

NameType
rowSpannumber

Returns

DEPRECATED_GridCellNode

Defined in

lexical/src/nodes/LexicalGridCellNode.ts:49