8.6 Released with 🥽 visionOS support and more!
Check it out

Summary ​

Constructors ​

constructor ​

new Transition(duration?: number, nativeCurve?: any): Transition
Parameter Default Description
duration
number

nativeCurve
any

Returns Transition

Properties ​

interactiveController ​

interactiveController?: any

name ​

name?: string
(Optional) Provide a unique name to identify this transition

presented ​

presenting ​

sharedElements ​

sharedElements?: {
  independent?: (SharedElementSettings & {})[]
  presented?: SharedElementSettings[]
}

transitionController ​

transitionController?: any

AndroidTransitionType ​

Static
AndroidTransitionType?: {
  enter?: string
  exit?: string
  popEnter?: string
}

Methods ​

androidFragmentTransactionCallback ​

androidFragmentTransactionCallback(fragmentTransaction: any, currentEntry: BackstackEntry, newEntry: BackstackEntry): void
Parameter Default Description
fragmentTransaction
any

currentEntry

newEntry

Returns void

animateIOSTransition ​

animateIOSTransition(
  transitionContext: any,
  fromViewCtrl: any,
  toViewCtrl: any,
  operation: any
): void
Parameter Default Description
transitionContext
any

fromViewCtrl
any

toViewCtrl
any

operation
any

Returns void

createAndroidAnimator ​

createAndroidAnimator(transitionType: string): any
Parameter Default Description
transitionType
string

Returns any

getCurve ​

getCurve(): any

getDuration ​

getDuration(): number

iosDismissedController ​

iosDismissedController(dismissed: any): any
Parameter Default Description
dismissed
any

Returns any

iosInteractionDismiss ​

iosInteractionDismiss(animator: any): any
Parameter Default Description
animator
any

Returns any

iosInteractionPresented ​

iosInteractionPresented(animator: any): any
Parameter Default Description
animator
any

Returns any

iosNavigatedController ​

iosNavigatedController(
  navigationController: any,
  operation: number,
  fromVC: any,
  toVC: any
): any
Parameter Default Description
navigationController
any

operation
number

fromVC
any

toVC
any

Returns any

iosPresentedController ​

iosPresentedController(presented: any, presenting: any, source: any): any
Parameter Default Description
presented
any

presenting
any

source
any

Returns any

setDuration ​

setDuration(value: number): void
Parameter Default Description
value
number

Returns void

setupInteractiveGesture ​

setupInteractiveGesture(startCallback: () => void, view: View): void
Parameter Default Description
startCallback
() => void

view

Returns void