ember-states
is Ember's implementation of a finite state machine. A StateManager
instance manages a number of properties that are instances of State
, tracks the current active state, and triggers callbacks when states have changed.
For more info check documentation of StateManager
in addon/state-manager.js
Here is the simplest way to get started with ember-states:
ember install ember-states
npm install
ember test