Interfaces
NavigationTransition
NavigationTransition
interface NavigationTransition { curve: any; duration: number; instance: Transition; name: string; }
Represents an object specifying a page navigation transition.
Summary
Properties
curve
defined in @nativescript/core/ui/frame/index.d.ts:378:1
An optional transition animation curve. Possible values are contained in the [AnimationCurve enumeration](https://docs.nativescript.org/api-reference/modules/_ui_enums_.animationcurve.html).
Alternatively, you can pass an instance of type UIViewAnimationCurve for iOS or android.animation.TimeInterpolator for Android.
duration
defined in @nativescript/core/ui/frame/index.d.ts:372:1
The length of the transition in milliseconds. If you do not specify this, the default platform transition duration will be used.
instance
instance?: Transition
defined in @nativescript/core/ui/frame/index.d.ts:367:1
An user-defined instance of the "ui/transition".Transition class.
name
defined in @nativescript/core/ui/frame/index.d.ts:362:1
Can be one of the built-in transitions:
- curl (same as curlUp) (iOS only)
- curlUp (iOS only)
- curlDown (iOS only)
- explode (Android Lollipop(21) and up only)
- fade
- flip (same as flipRight)
- flipRight
- flipLeft
- slide (same as slideLeft)
- slideLeft
- slideRight
- slideTop
- slideBottom
- Previous
- NavigationEntry