import { Machine } from "https://dotland.deno.dev/x/jssm@5.104.1/jssm.js";
Methods
_new_state(state_config)
action(actionName, newData)
actions(whichState?)
current_action_edge_for(action)
current_action_for(action)
data()
display_text(state)
do(actionName, newData)
edges_between(from, to)
flow()
force_transition(newState, newData)
get_transition_by_state_names(from, to)
go(newState, newData)
has_state(whichState)
hook()
from,
to,
handler,
hook_action()
from,
to,
action,
handler,
hook_after(from, handler)
hook_any_action(handler)
hook_any_transition(handler)
hook_entry(to, handler)
hook_exit(from, handler)
hook_forced_transition(handler)
hook_global_action(action, handler)
hook_main_transition(handler)
hook_standard_transition(handler)
is_end_state(whichState)
is_final()
is_start_state(whichState)
is_unenterable(whichState)
known_prop(prop_name)
label_for(state)
list_entrances(whichState?)
list_exit_actions(whichState?)
list_exits(whichState?)
list_states_having_action(whichState)
list_transitions(whichState?)
lookup_transition_for(from, to)
override(newState, newData)
post_hook()
from,
to,
handler,
post_hook_action()
from,
to,
action,
handler,
post_hook_any_action(handler)
post_hook_any_transition(handler)
post_hook_entry(to, handler)
post_hook_exit(from, handler)
post_hook_forced_transition(handler)
post_hook_global_action(action, handler)
post_hook_main_transition(handler)
post_hook_standard_transition(handler)
probable_action_exits(whichState?)
probable_exits_for(whichState)
prop(name)
props()
serialize(comment)
set_hook(HookDesc)
set_state_timeout(next_state, after_time)
sm(template_strings, ...remainder)
state()
state_declaration(which)
state_for(whichState)
state_is_complete(whichState)
state_is_final(whichState)
state_is_terminal(whichState)
state_timeout_for(which_state)
states()
strict_prop(name)
style_for(state)
transition(newState, newData)
transition_impl()
newStateOrAction,
newData,
wasForced,
wasAction,
valid_action(action, _newData)
valid_force_transition(newState, _newData)
valid_transition(newState, _newData)