Transitions
Rich Media widgets that contain interactive elements require transitions.
The transitions
object contains one or more transitions. Each transition handles the logic as a user either:
-
Moves from a node (page) to another node–the transition defines both the trigger of the move and the destination node.
-
Completes the interaction with the widget–the transition defines which output the widget returns to the agent.
Transitions are triggered by events. Events trigger all possible transitions that listen to an event from a particular node.
Transitions require all the following properties:
Property | Description | Supported values |
---|---|---|
from
|
The transition listens only for events fired while the user is on this node. | Must match the id of a node in the widget. |
name
|
Name of the transition. Used in references to the transition. | Must be unique within the widget. |
to
|
|
|
trigger
|
The transition listens only for the event with this name. | Must match an event defined in one or more controls in this widget. |