Hook Criterion used to match a transition.
A string that exactly matches the name of a state.
Or, a function with the signature function(state, transition) { return matches; } which should return a boolean to indicate if a state matches.
function(state, transition) { return matches; }
Or, true to always match
true
Hook Criterion used to match a transition.
A string that exactly matches the name of a state.
Or, a function with the signature
function(state, transition) { return matches; }which should return a boolean to indicate if a state matches.Or,
trueto always match