- Description:
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
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}].
Classes
Methods
(inner) _afterRender()
- Description:
Hook to executed after the view is rendered.
- Source:
(inner) _find(selector) → {JQuery}
- Description:
Find a node in the dialogue.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
selector |
String |
Returns:
The node
- Type
- JQuery
(inner) _refresh() → {Promise}
- Description:
Refresh the view.
- Source:
Returns:
- Type
- Promise
(inner) _render() → {Promise}
- Description:
Render the dialogue.
- Source:
Returns:
- Type
- Promise
(inner) _reset()
- Description:
Reset the dialogue properties.
This does not reset everything, just enough to reset the UI.
- Source:
(inner) close()
- Description:
Close the dialogue.
- Source:
(inner) display() → {Promise}
- Description:
Opens the action selector.
- Source:
Returns:
- Type
- Promise