Methods
(static) fromJSON(actionSequence) → {action.Sequence}
Parameters:
Name | Type | Description |
---|---|---|
actionSequence |
Object.<string, ?> | Object that represents a sequence action items for one input source. |
Throws:
-
If
actionSequence.id
is not a string or it's aleady mapped to an |action.InputState} incompatible withactionSequence.type
, or ifactionSequence.actions
is not anArray
. - Type
- InvalidArgumentError
Returns:
Sequence of actions that can be dispatched.
- Type
- action.Sequence