-
Notifications
You must be signed in to change notification settings - Fork 5
navigator
moorinteractive edited this page Apr 22, 2011
·
1 revision
This utility allows to to easily generate page navigations. Each page can be a DisplayObject
including a small implementation of the interface IPage
. Transitions between pages are executed in an asynchronized wise. Therefor you can implement the interface ITransition
in your page or assign a ITransition
instance to a page manually. Even default transitions can be set by this utility.
Note: To create html website like navigation, use this utility in combination with our Router.
You can map the dependencies of Navigator
by using the static method mapDependencies
of Utilities
:
Utilities.mapDependencies( commandMap, [ Utilities.NAVIGATOR ]);
After mapping the dependencies, you can inject the following values:
INavigator