Transition | API - NativeScript
Summary
Constructors
constructor
new Transition(duration?: number, nativeCurve?: any): Transition
Properties
id
interactiveController
interactiveController?: anyname
(Optional) Provide a unique name to identify this transition
presented
presenting
sharedElements
sharedElements?: {
independent?: (SharedElementSettings & {})[]
presented?: SharedElementSettings[]
}transitionController
transitionController?: anyAndroidTransitionType
Static
AndroidTransitionType?: {
enter?: string
exit?: string
popEnter?: string
}Methods
androidFragmentTransactionCallback
animateIOSTransition
animateIOSTransition(
transitionContext: any,
fromViewCtrl: any,
toViewCtrl: any,
operation: any
): voidcreateAndroidAnimator
createAndroidAnimator(transitionType: string): anygetCurve
getDuration
iosDismissedController
iosDismissedController(dismissed: any): anyiosInteractionDismiss
iosInteractionDismiss(animator: any): anyiosInteractionPresented
iosInteractionPresented(animator: any): anyiosNavigatedController
iosNavigatedController(
navigationController: any,
operation: number,
fromVC: any,
toVC: any
): anyiosPresentedController
iosPresentedController(presented: any, presenting: any, source: any): anysetDuration
setDuration(value: number): void