Event handler playground

State A
State B
State C
System
Transition
Action
State

This example demonstrates the various events you can listen to and take action on:

The shorthand handler ids above all compile to absolute handler paths, such as:

Hover over each id/checkbox to see a description of the handler and the internal paths it generates.

The following grammar is available:

FormatDescription
aliasAny single word that resolves to a namespaced-type alias, action or state name
namespace.typeA namespaced-type, for system, transition, action or state
:typeAn event type, for action or state events
@actionAn action name
#stateA state name (provided in case you need to disambiguate from a namespaced alias)
(foo bar baz)Grouping for multiple grammars, which are expanded to multiple paths

Note that all assigned handlers operate independently of one another: