A.FormBuilderSettingsModal Class
A base class for A.FormBuilderSettingsModal. It's responsible for the modal that
is used by the form builder for editing a field's settings.
Constructor
A.FormBuilderSettingsModal
-
config
Parameters:
-
configObjectObject literal specifying widget configuration properties.
Index
Methods
_afterModalVisibleChange
-
event
Fired after the visible attribute from the modal instance changes.
Parameters:
-
eventEventFacade
_create
()
protected
Creates and renders the field settings modal for the first time.
_save
()
protected
Saves the settings for the field currently being edited.
_updateModalOnContentToggle
()
protected
Toggle back and close button on small screen and update Modal height.
destructor
()
protected
Destructor lifecycle implementation for the A.FormBuilderSettingsModal class.
Lifecycle.
hide
()
Hides the settings modal for the given field.
show
-
field -
typeName
Shows the settings panel for the given field.
Parameters:
-
fieldA.FormField -
typeNameStringThe name of the field type.
Events
hide
Fired when the modal is hidden.
save
Fired when the modal is saved.