13 lines
473 B
Plaintext
13 lines
473 B
Plaintext
@startuml button_state_diagram
|
|
[*] --> normal
|
|
[*] --> disabled
|
|
normal --> hovered : on mouse enter
|
|
hovered --> normal : on mouse leave
|
|
hovered --> tapped : on mouse click down
|
|
tapped --> hovered : on mouse click up in (the cursor is in button)
|
|
tapped --> normal : on mouse click up out (the cursor is out of button)
|
|
normal --> focused : on focus
|
|
focused --> normal : on unfocus
|
|
focused --> tapped : on space bar press down
|
|
tapped --> focused : on space bar press up
|
|
@enduml |