diff --git a/source/feathers/controls/Drawers.as b/source/feathers/controls/Drawers.as index 85c8bdacea..f645d64fe7 100644 --- a/source/feathers/controls/Drawers.as +++ b/source/feathers/controls/Drawers.as @@ -7,6 +7,7 @@ accordance with the terms of the accompanying license agreement. */ package feathers.controls { + import feathers.controls.supportClasses.BaseScreenNavigator; import feathers.core.FeathersControl; import feathers.core.IValidating; import feathers.events.ExclusiveTouch; @@ -148,7 +149,7 @@ package feathers.controls * left of the main content:

* * - * var navigator:ScreenNavigator = new ScreenNavigator(); + * var navigator:StackScreenNavigator = new StackScreenNavigator(); * var list:List = new List(); * // the navigator's screens, the list's data provider, and additional * // properties should be set here. @@ -159,7 +160,7 @@ package feathers.controls * drawers.leftDrawerToggleEventType = Event.OPEN; * this.addChild( drawers ); * - *

In the example above, a screen in the ScreenNavigator + *

In the example above, a screen in the StackScreenNavigator * component dispatches an event of type Event.OPEN when it * wants to display the slide out the List that is used as * the left drawer.

@@ -405,7 +406,7 @@ package feathers.controls this._content = value; if(this._content) { - if(this._content is ScreenNavigator) + if(this._content is BaseScreenNavigator) { this.contentEventDispatcherField = SCREEN_NAVIGATOR_CONTENT_EVENT_DISPATCHER_FIELD; this.contentEventDispatcherChangeEventType = Event.CHANGE; @@ -1571,8 +1572,9 @@ package feathers.controls * contentEventDispatcherField or * contentEventDispatcherFunction. * - *

For a ScreenNavigator component, this value is - * automatically set to Event.CHANGE.

+ *

For StackScreenNavigator and + * ScreenNavigator components, this value is automatically + * set to Event.CHANGE.

* *

In the following example, the drawers container will update its * content event dispatcher when the content dispatches an event of type @@ -1620,9 +1622,10 @@ package feathers.controls * A property of the content that references an event * dispatcher that dispatches events to toggle drawers open and closed. * - *

For a ScreenNavigator component, this value is - * automatically set to "activeScreen" to listen for events - * from the currently active/visible screen.

+ *

For StackScreenNavigator and + * ScreenNavigator components, this value is automatically + * set to "activeScreen" to listen for events from the + * currently active/visible screen.

* *

In the following example, the content event dispatcher field is * customized: