Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Interfaces
NavigationEntry
NavigationEntry
interface NavigationEntry extends ViewEntry { animated: boolean; backstackVisible: boolean; bindingContext: any; clearHistory: boolean; context: any; transition: NavigationTransition; transitionAndroid: NavigationTransition; transitioniOS: NavigationTransition; }
Represents an entry in passed to navigate method.
Summary
Properties
Properties
animated
defined in @nativescript/core/ui/frame/index.d.ts:304:1
True to navigate to the new Page using animated transitions, false otherwise.
backstackVisible
defined in @nativescript/core/ui/frame/index.d.ts:325:1
True to record the navigation in the backstack, false otherwise.
If the parameter is set to false then the Page will be displayed but once navigated from it will not be able to be navigated back to.
bindingContext
defined in @nativescript/core/ui/frame/index.d.ts:299:1
An object to become the binding context of the page navigating to. Optional.
clearHistory
defined in @nativescript/core/ui/frame/index.d.ts:330:1
True to clear the navigation history, false otherwise. Very useful when navigating away from login pages.
context
defined in @nativescript/core/ui/frame/index.d.ts:294:1
An object passed to the onNavigatedTo callback of the Page. Typically this is used to pass some data among pages. Optional.
transition
transition?: NavigationTransition
defined in @nativescript/core/ui/frame/index.d.ts:309:1
Specifies an optional navigation transition for all platforms. If not specified, the default platform transition will be used.
transitionAndroid
transitionAndroid?: NavigationTransition
defined in @nativescript/core/ui/frame/index.d.ts:319:1
Specifies an optional navigation transition for Android. If not specified, the default platform transition will be used.
transitioniOS
transitioniOS?: NavigationTransition
defined in @nativescript/core/ui/frame/index.d.ts:314:1
Specifies an optional navigation transition for iOS. If not specified, the default platform transition will be used.
- Previous
- NavigationContext
- Next
- NavigationTransition