TableSlot (table)
@ckeditor/ckeditor5-table/src/tablewalker
An object returned by TableWalker
when traversing table cells.
Filtering
Properties
-
The current table cell.
-
The column index of a cell anchor slot.
-
The row index of a cell anchor slot.
-
The height of a cell defined by a
rowspan
attribute. If the model attribute is not present, it is set to1
. -
The width of a cell defined by a
colspan
attribute. If the model attribute is not present, it is set to1
. -
The column index of a table slot.
-
Whether the cell is anchored in the current slot.
-
The row index of a table slot.
-
The index of the current row element in the table.
-
The index of the current cell in the parent row.
-
The index of the current row element in the table.
-
The table element.
Methods
-
protected
constructor( tableWalker, cell, anchorRow, anchorColumn )
module:table/tablewalker~TableSlot#constructor
Creates an instance of the table walker value.
Parameters
tableWalker : TableWalker
The table walker instance.
cell : Element
The current table cell.
anchorRow : Number
The row index of a cell anchor slot.
anchorColumn : Number
The column index of a cell anchor slot.
-
getPositionBefore() → Position
module:table/tablewalker~TableSlot#getPositionBefore
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.