Created
June 5, 2012 14:02
-
-
Save ccapndave/2875205 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ember; | |
| @:native("Ember.StateManager") | |
| extern class StateManager extends State { | |
| public function new():Void; | |
| public var enableLogging:Bool; | |
| /** | |
| * The name of the initial state. The transition to this state will occur as soon as the state machine is initialized. | |
| */ | |
| public var initialState:String; | |
| /** | |
| * A hash of state names to States. | |
| */ | |
| public var states:Dynamic<State>; | |
| /** | |
| * When using ViewStates this gives the jQuery selector of the element to replace. | |
| */ | |
| public var rootElement:String; | |
| public function send(action:String, ?context:Dynamic):Void; | |
| public function goToState(stateName:String):Void; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment