View source
class PageNavigator
package feathers.controls.navigators
extends BaseNavigator › FeathersControl › MeasureSprite › ValidatingSprite
implements IDataSelector<PageItem>, IIndexSelector
A container that supports navigation between views using a PageIndicator
.
The following example creates a page navigator and adds some items:
var navigator = new PageNavigator();
navigator.dataProvider = new ArrayCollection([
PageItem.withClass(WizardView1),
PageItem.withClass(WizardView1),
PageItem.withClass(WizardView3)
]);
addChild(this.navigator);
Available since
1.0.0
.See also:
Constructor
Variables
pageIndicatorPosition:RelativePosition
The position of the navigator's page indicator.
Available since
1.0.0
.simulateTouch:Bool
Determines if mouse events should be treated like touch events when detecting a swipe.
Available since
1.0.0
.See also:
swipeEnabled:Bool
If true
, a swipe left or right with touch may be used to navigate to
the previous or next page.
Available since
1.0.0
.See also:
nextTransition:(DisplayObject, DisplayObject) ‑> IEffectContext
The default transition to use for navigating to the next page.
Available since
1.0.0
.previousTransition:(DisplayObject, DisplayObject) ‑> IEffectContext
The default transition to use for navigating to the previous page.
Available since
1.0.0
.