tool_lp/actionselector

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:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Classes

tool_lp/actionselector

Methods

(inner) _afterRender()

Source:

Hook to executed after the view is rendered.

(inner) _find(selector) → {JQuery}

Source:

Find a node in the dialogue.

Parameters:
Name Type Description
selector String
Returns:

The node

Type
JQuery

(inner) _refresh() → {Promise}

Source:

Refresh the view.

Returns:
Type
Promise

(inner) _render() → {Promise}

Source:

Render the dialogue.

Returns:
Type
Promise

(inner) _reset()

Source:

Reset the dialogue properties.

This does not reset everything, just enough to reset the UI.

(inner) close()

Source:

Close the dialogue.

(inner) display() → {Promise}

Source:

Opens the action selector.

Returns:
Type
Promise