Action

Action

# new Action(actionMap, type, dataopt)

Creates a new Action instance from the provider parameters.
Parameters:
Name Type Attributes Default Description
actionMap Object Action parameters
type string Type
data Object.<string, string> <optional>
{} Data

Methods

# (static) create(type, data) → {Action}

Create an action instance
Parameters:
Name Type Description
type string Type of action.
data Object.<string, string> Custom data.
Returns:
Action instance.
Type
Action