Interactive id tester

Awaiting input...

This page allows you to test out some event handler ids of your own. Type above or use the examples to test out some matches!

A StateMachine instance is instantiated with the following properties available:

The following grammar is available:

aliasAny single word that resolves to a namespaced type, state or action
namespace.typeAbsolute syntax for namespaced types
:typeAn event type, for action or state events
@actionAn action name
#stateAlternative state name identifier to using an alias
(foo bar baz)Grouping for multiple patterns, which are expanded to multiple handlers

The additional options allow yo to choose what to do with invalid states/actions or bad syntax, and are set in the config:

Open the console, click warn or error, and enter some invalid states to see the result.