A.FormBuilderFieldList Class
A base class for A.FormBuilderFieldList
.
Constructor
A.FormBuilderFieldList
-
config
Parameters:
-
config
ObjectObject literal specifying widget configuration properties.
Methods
_addEmptyColumnFieldClasses
-
content
Executed to the last empty column.
Parameters:
-
content
Node
_afterEnableAddFieldsChange
()
protected
Fired after the enableAddFields
attribute change.
_afterFieldsChange
()
protected
Fired after the fields
attribute is set.
_appendAddFieldNode
-
container
Appends add field on the given container.
Parameters:
-
container
Node
_appendAddMoveTargetNode
-
container
-
index
Appends move target button on the given container.
_onClickAddField
-
event
Fired when the button for adding a new field is clicked.
Parameters:
-
event
EventFacade
_onMouseEnterAddButton
-
event
Fired when mouse enters the button for adding a new field.
Parameters:
-
event
EventFacade
_onMouseLeaveAddButton
-
event
Fired when mouse leaves the button for adding a new field.
Parameters:
-
event
EventFacade
_uiSetField
-
container
-
field
-
index
Append a field and its necessaries elements into a given container.
_uiSetFields
-
fields
Updates the ui according to the value of the fields
attribute.
Parameters:
-
fields
Array
_uiToggleDisableAddField
()
protected
Toggle disabled class to the add field button.
_updateRemovableLayoutColProperty
()
protected
Update removable property for layout cols.
addField
-
field
-
index
Adds a new field to the A.FormBuilderFieldList
.
Parameters:
-
field
A.FormBuilderFieldBase -
index
Number
initializer
()
protected
Construction logic executed during the A.FormBuilderFieldList
instantiation. Lifecycle.
removeField
-
field
Removes the given field from the A.FormBuilderFieldList
.
Parameters:
-
field
A.FormBuilderFieldBase
Properties
ATTRS
Object
static
Static property used to define the default attribute
configuration for the A.FormBuilderFieldList
.