# 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 |
- Source:
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. |
- Source:
Returns:
Action instance.
- Type
- Action