Class gridSlot
Template slot. Features:
- column and row span
- disconnected regions
Defined in: templateLayout.compiler.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gridSlot(slotText, rowIndex, colIndex, options)
Creates a slot.
|
Field Attributes | Field Name and Description |
---|---|
is column span allowed?
|
|
Can exists more than one group of slots with the same identifier?
|
|
is row span allowed?
|
|
column index.
|
|
column span number
|
|
Stores the sum of children heights
|
|
<static> |
gridSlot.fn
Extension point
|
HTML node that maps the slot
|
|
row index.
|
|
row span number
|
|
slot identifier
|
Class Detail
gridSlot(slotText, rowIndex, colIndex, options)
Creates a slot.
- Parameters:
- {string} slotText
- slot identifier
- {integer} rowIndex
- row index
- {integer} colIndex
- column index
- {Object} options Optional
- optional initialization
- {integer} options.rowSpan
- row span number
- {integer} options.colSpan
- column span number
- {boolean} options.allowDisconnected
- row span number
- {boolean} options.allowColSpan
- row span number
- {boolean} options.allowRowSpan
- row span number
Field Detail
{boolean}
allowColSpan
is column span allowed?
{boolean}
allowDisconnected
Can exists more than one group of slots with the same identifier?
{boolean}
allowRowSpan
is row span allowed?
{integer}
colIndex
column index. If column spans, leftmost column index
{integer}
colSpan
column span number
{integer}
contentHeight
Stores the sum of children heights
<static>
gridSlot.fn
Extension point
{HTMLElement}
htmlNode
HTML node that maps the slot
{integer}
rowIndex
row index. If row spans, topmost row index
{integer}
rowSpan
row span number
{string}
slotText
slot identifier