A.LayoutBuilderAddCol Class
LayoutBuilder extension, which can be used to add the funcionality of adding columns to the builder's layout.
Constructor
A.LayoutBuilderAddCol
-
config
Parameters:
-
config
ObjectObject literal specifying layout builder configuration properties.
Methods
_afterAddColIsColumnModeChange
()
protected
Fired after isColumnMode
changes.
_afterAddColLayoutColsChange
-
event
Fired after the cols
attribute changes.
Parameters:
-
event
EventFacace
_afterAddColRowsChange
()
protected
Fired after the rows
attribute changes.
_afterEnableAddColsChange
()
protected
Fired after the enableAddCols
attribute changes.
_appendAddColButtonToRows
()
protected
Appends add col button on each row.
_appendAddColButtonToSingleRow
-
row
Appends add col button for a single row.
Parameters:
-
row
NodeRow to append the add col buttons.
_bindAddColEvents
()
protected
Binds the necessary events for the functionality of adding columns to the layout.
_removeAddColButton
()
protected
Removes all add col buttons.
_uiSetEnableAddCols
-
enableAddCols
Updates the UI according to the value of the enableAddCols
attribute.
Parameters:
-
enableAddCols
Boolean
_unbindAddColEvents
()
protected
Unbinds the events related to the functionality of adding columns to the layout.
destructor
()
protected
Destructor implementation for the A.LayoutBuilderAddCol
class. Lifecycle.
initializer
()
protected
Construction logic executed during A.LayoutBuilderAddCol
instantiation.
Lifecycle.
Properties
ATTRS
Object
static
Static property used to define the default attribute configuration for the
A.LayoutBuilderAddCol
.