Skip to content
Loamis build console Read only

disclosure

READ ONLY: generated from the specification

2 states, 5 events, 11 rules. Initial state: closed.

Transition graph

closedopen

Double outline: the initial state. Dashed line and ◆: the rule has a guard.

Transitions, as a list

  1. closed, on toggle, to open
  2. open, on toggle, to closed
  3. closed, on open, to open
  4. open, on open, to open
  5. closed, on close, to closed
  6. open, on close, to closed
  7. open, on escape, to closed
  8. closed, on controlled, to open, guarded: event.value == true
  9. closed, on controlled, to closed, guarded: event.value == false
  10. open, on controlled, to open, guarded: event.value == true
  11. open, on controlled, to closed, guarded: event.value == false

Live runner

Current state: closed

Context

Empty.

View flags now

ariaExpanded
false
hidden
true

Effects emitted

None.

Trace

No event sent yet.

States

closed

initial

View flags

ariaExpanded
false
hidden
true

Rules that leave it

  1. toggle to open
  2. open to open
  3. close to closed
  4. controlled to open when event.value == true
  5. controlled to closed when event.value == false

open

View flags

ariaExpanded
true
hidden
false

Rules that leave it

  1. toggle to closed
  2. open to open
  3. close to closed
  4. escape to closed
  5. controlled to open when event.value == true
  6. controlled to closed when event.value == false
All machines