The return value of a TransitionHookFn or TransitionStateHookFn
When returned from a TransitionHookFn or TransitionStateHookFn, these values alter the running Transition:
false
: the transition will be cancelled.Promise
: the transition will wait for the promise to resolve or rejectfalse
), the transition will be cancelledA predicate type which tests if a StateObject and Transition passes some test. Returns a boolean.
Generated using TypeDoc
Hook Criterion used to match a transition.
A Glob string that 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,
true
to always match