Navigator
open class Navigator(animation: NavAnimation? = null, swipeable: Boolean? = null, forceSwipeable: Boolean? = null, className: String? = null, init: Navigator.() -> Unit? = null)
A navigator component.
Parameters
animation
an animation type.
swipeable
an iOS swipe to pop feature
force Swipeable
force iOS swipe on Android platform
class Name
CSS class names
init
an initializer extension function
Constructors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open fun bringPageTop(index: Int, options: dynamic = undefined): <Error class: unknown class><Unit>?
Brings the given page to the top of the page stack.
Link copied to clipboard
Link copied to clipboard
open fun insertPage(index: Int, page: Page, options: dynamic = undefined): <Error class: unknown class><Unit>?
open fun insertPage(index: Int, pageId: String, options: dynamic = undefined): <Error class: unknown class><Unit>?
Insert the specified page into the stack with at a position defined by the index argument.
Link copied to clipboard
Sets device back button event listener.
Link copied to clipboard
Clears device back button event listener.
Link copied to clipboard
Clears swipe event listener.
Link copied to clipboard
Remove the specified page at a position in the stack defined by the index argument.
Link copied to clipboard
open fun replacePage(pageId: String, options: dynamic = undefined): <Error class: unknown class><Unit>?
Replaces the current top page with the specified one.
Link copied to clipboard
open fun resetToPage(pageId: String, options: dynamic = undefined): <Error class: unknown class><Unit>?
Clears page stack and adds the specified page to the stack.