Get currently available action ids.
Checks if an action with the given ID exists.
ID of the action.
Trigger the actions and return their response as a list of Promises.
List of action IDs to trigger.
To trigger all available actions pass a list with only one entry: ["*"].
Optionaloptions: ActionOptionsOptions to be passed to the actions. This can, for example, include the items of a search result.
List of Promises with the actions' result of their trigger methods.
The ActionService provides access to
map-actions.Actioninstances.An instance of this class can be referenced using the service name
map-actions.ActionService. The service can be used in different workflows to trigger the same functionality.The action service will emit events
action-addedandaction-removedwhen a new action is registered or an existing action is unregistered. In both cases, an object{id: "action-id"}is passed to the event handler.