A.FormBuilderPages Class
A base class for Form Builder Pages Builder.
Constructor
A.FormBuilderPages
-
config
Parameters:
-
config
ObjectObject literal specifying widget configuration properties.
Index
Methods
- _addPage
- _addTab
- _afterActivePageNumberChange
- _afterModeChange
- _afterPagesQuantityChange
- _afterTabViewSelectionChange
- _createPagination
- _createPopover
- _createTabView
- _createUntitledPageLabel
- _disablePaginationView
- _disableTabView
- _enablePaginationView
- _enablePaginationView
- _getDeleteButtonLabel
- _getPagination
- _getPopover
- _getTabView
- _onAddLastPageClick
- _onCurrentPageChange
- _onDescriptionInputValueChange
- _onRemovePageClick
- _onSwitchViewClick
- _onTitleInputValueChange
- _removeTab
- _renderFooterPagination
- _renderTopPagination
- _syncPopoverContent
- _uiSetActivePageNumber
- _uiSetMode
- _uiSetPagesQuantity
- _updateTabViewContent
- destructor
- disablePaginations
- enablePaginations
- initializer
Methods
_addPage
()
protected
Create a new page on Form Builder.
_addTab
()
protected
Create a new tab on Form Builder.
_afterActivePageNumberChange
-
event
Fired after the activePageNumber
attribute changes.
Parameters:
-
event
EventFacade
_afterModeChange
()
protected
Fired after the mode
attribute changes.
_afterPagesQuantityChange
()
protected
Fired after the pagesQuantity
attribute changes.
_afterTabViewSelectionChange
()
protected
Fired after the selection
attribute from the tabview changes.
_createUntitledPageLabel
-
activePageNumber
-
pagesQuantity
Returns an untitled page string based on strings attribute.
Returns:
_disablePaginationView
()
protected
Disable Pagination items.
_disableTabView
()
protected
Disable TabView items.
_enablePaginationView
()
protected
Enable TabView items.
_enablePaginationView
()
protected
Enable Pagination items.
_getDeleteButtonLabel
()
String
protected
Returns the delete button string according to the page quantity.
Returns:
_onAddLastPageClick
()
protected
Fired on Add new page after last
element clicked.
_onCurrentPageChange
()
protected
Fired on current page change.
_onDescriptionInputValueChange
-
event
Fired on description input value change.
Parameters:
-
event
EventFacade
_onRemovePageClick
()
protected
Fired on remove button clicked.
_onSwitchViewClick
()
protected
Fired on switch view button clicked.
_onTitleInputValueChange
-
event
Fired on title input value change.
Parameters:
-
event
EventFacade
_renderTopPagination
()
protected
Render default top pagination
_syncPopoverContent
()
protected
Updates the popover content ui.
_uiSetActivePageNumber
-
activePageNumber
Updates the ui according to the value of the activePageNumber
attribute.
Parameters:
-
activePageNumber
Number
_uiSetMode
-
type
Switch the pages mode view.
Parameters:
-
type
String
_uiSetPagesQuantity
-
total
Updates the ui according to the value of the pagesQuantity
attribute.
Parameters:
-
total
Number
_updateTabViewContent
()
protected
Update all tabs title based on titles attribute.
destructor
()
protected
Destructor lifecycle implementation for the A.FormBuilderPages
class.
Lifecycle.
disablePaginations
()
Disable PaginationVeiw and TabView.
enablePaginations
()
Enable PaginationVeiw and TabView.
initializer
()
protected
Construction logic executed during the A.FormBuilderPages
instantiation. Lifecycle.