Triggers action of the popup
action(action, msgId)
action |
string, action name as defined in options.actions |
msgId |
string (optional), index of popup if it is opened as a message |
Description
The popup must exists. It will trigger action if it is defined with
actions object in the defaults. See
w2popup.defaults
To trigger action: