Package Exports
- state
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (state) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
State.js
State is a library for implementing a system of hierarchical states directly into objects and inherently across prototypes.
An object’s behavior is exhibited via its methods, which may be overridden by its States. This allows a State implementation to impose minimally on the object’s interface while remaining transparent to consumers.
Changes to an object’s behavior are facilitated by evented state transitions.
State content, including methods, events, substates, and transitions, is expressed in a format that is terse and declarative, encouraging composition, reuse, and ease of reasoning.
Visit statejs.org for an introduction, complete documentation including a getting started guide and conceptual overview, along with the API, annotated source, and tests.