https://github.com/emberjs/ember-states
https://github.com/emberjs/ember-states
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emberjs/ember-states
- Owner: emberjs
- License: mit
- Archived: true
- Created: 2013-08-25T18:42:14.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2015-11-30T16:33:44.000Z (over 10 years ago)
- Last Synced: 2024-10-29T14:52:08.294Z (over 1 year ago)
- Language: JavaScript
- Size: 48.8 KB
- Stars: 52
- Watchers: 18
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ember-states [](https://travis-ci.org/emberjs/ember-states)
`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](https://github.com/emberjs/ember-states/blob/master/addon/state-manager.js)
## Including In An Ember Application
Here is the simplest way to get started with ember-states:
```sh
ember install ember-states
```
## How to Run Unit Tests
```sh
npm install
ember test
```