Show:

A base class for Layout Add Row.

Methods

_addAppropriateAddRowArea

() protected

Adds the appropriate add row area to container.

_addRow

(
  • button
)
protected

Add a row to layout.

Parameters:

_afterAddRowIsColumnModeChange

() protected

Fired after isColumnMode changes.

_afterAddRowRowsChange

() protected

Fired after the rows attribute changes.

_afterAddRowWindowResize

() protected

Fired after the window's resize.

_afterEnableAddRowsChange

() protected

Fired after the enableAddRows attribute changes.

_bindAddRowEvents

() protected

Binds the necessary events for the functionality of adding rows to the layout.

_createAddRowArea

() protected

Creates the area to choose the new row.

_createAddRowAreaForSmallScreens

() protected

Creates the area to add new row for smartphone.

_onKeyPressAddRowEvent

(
  • event
)
protected

Fired on key:press event for the add row button.

Parameters:

_onMouseClickEvent

(
  • event
)
protected

Fires after click on add row button.

Parameters:

_removeAddRowTemplate

() protected

Removes current add row template.

_setAddRowAreaPosition

() protected

Sets row area to fixed or relative depending on it's position.

_uiSetEnableAddRows

(
  • enableAddRows
)
protected

Updates the UI according to the value of the enableAddRows attribute.

Parameters:

  • enableAddRows Boolean

_unbindAddRowEvents

() protected

Unbinds the events related to the functionality of adding rows to the layout.

destructor

() protected

Destructor implementation for the A.LayoutBuilderAddRow class. Lifecycle.

initializer

() protected

Construction logic executed during instantiation. Lifecycle.

Properties

_bodyNode

Node protected

Body's node.

addRowArea

Node

Area to choose a new type of row.

ATTRS

Object static

Static property used to define the default attribute configuration for the A.LayoutBuilderAddRow.

Attributes

enableAddRows

Boolean

Flag indicating if the feature of adding rows to the layout is enabled or not.

Default: true