Quicksave Logo

State

A State is the fundamental unit of behavior in a state machine. It represents a named mode in your application’s flow.

When to Use a State

  • Representing distinct application modes (e.g., Login, Dashboard, Settings).
  • Encapsulating a set of UI behaviors or animations tied to that mode.
  • Defining clear events in a user flow.

Properties

PropertyDetails
NameName of the State.
InitialThe initial substate to activate.
On doneState to transition to once all substates are done.
Entry actionsActions to trigger upon entering the State.
Exit actionsActions to trigger upon exiting the State
ActivitiesActivities tied to the state.
ServicesServices to invoke from the state.
TransitionsEvents that trigger a transition. A target state and condition can be set as part of the transition.