Action selector.
To handle 'save' events use: actionselector.on('save') This will receive the information to display in popup. The actions have the format [{'text': sometext, 'value' : somevalue}].
- Source:
- Copyright:
- 2016 Serge Gauthier -
- 2016 Serge Gauthier -
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Classes
Methods
(inner) _afterRender()
Hook to executed after the view is rendered.
(inner) _find(selector) → {JQuery}
Find a node in the dialogue.
Parameters:
Name | Type | Description |
---|---|---|
selector |
String |
Returns:
The node
- Type
- JQuery
(inner) _refresh() → {Promise}
Refresh the view.
Returns:
- Type
- Promise
(inner) _render() → {Promise}
Render the dialogue.
Returns:
- Type
- Promise
(inner) _reset()
Reset the dialogue properties.
This does not reset everything, just enough to reset the UI.
(inner) close()
Close the dialogue.
(inner) display() → {Promise}
Opens the action selector.
Returns:
- Type
- Promise