StateChart source

Properties

delegate :Property source

Default Value:
  • {string} null

ownerStateProperty :Property source

Default Value:
  • {string} null

rootState :Property source

Default Value:
  • {string} null

Methods

currentState() source

The current state.

Returns:

The current state.

defaultState() source

The default state.

Returns:

this._defaultState

enterDefaultState() source

Returns:

this.defaultState

initWithState(state) → {StateChart} source

Initializes a StateChart with a State object, and returns the StateChart.

Parameters:
Name Type Description
state string

TODO

Returns: StateChart

performAction(action, owner) source

Parameters:
Name Type Description
action string

TODO

owner string

TODO

stateWithName(stateName) → {Array} source

Parameters:
Name Type Description
stateName Property

TODO

Returns: Array

this._states[stateName]

Generated from a4679af

comments powered by Disqus

More help?

Can't find what you are looking for? Get in touch, we're more than happy in helping answer your questions.