1.02 kBTypeScriptView Raw
1import { Transition } from '.';
2export declare class SlideTransition extends Transition {
3 transitionController: SlideTransitionController;
4 presented: UIViewController;
5 presenting: UIViewController;
6 operation: number;
7 direction: string;
8 constructor(direction: string, duration: number, curve: any);
9 iosNavigatedController(navigationController: UINavigationController, operation: number, fromVC: UIViewController, toVC: UIViewController): UIViewControllerAnimatedTransitioning;
10}
11export declare class SlideTransitionController extends NSObject implements UIViewControllerAnimatedTransitioning {
12 static ObjCProtocols: {
13 prototype: UIViewControllerAnimatedTransitioning;
14 }[];
15 owner: WeakRef<SlideTransition>;
16 static initWithOwner(owner: WeakRef<SlideTransition>): SlideTransitionController;
17 transitionDuration(transitionContext: UIViewControllerContextTransitioning): number;
18 animateTransition(transitionContext: UIViewControllerContextTransitioning): void;
19}