1 |
|
2 | export declare const STATUS_NONE: "none";
|
3 | export declare const STATUS_APPEAR: "appear";
|
4 | export declare const STATUS_ENTER: "enter";
|
5 | export declare const STATUS_LEAVE: "leave";
|
6 | export declare type MotionStatus = typeof STATUS_NONE | typeof STATUS_APPEAR | typeof STATUS_ENTER | typeof STATUS_LEAVE;
|
7 | export declare const STEP_NONE: "none";
|
8 | export declare const STEP_PREPARE: "prepare";
|
9 | export declare const STEP_START: "start";
|
10 | export declare const STEP_ACTIVE: "active";
|
11 | export declare const STEP_ACTIVATED: "end";
|
12 | export declare type StepStatus = typeof STEP_NONE | typeof STEP_PREPARE | typeof STEP_START | typeof STEP_ACTIVE | typeof STEP_ACTIVATED;
|
13 | export declare type MotionEvent = (TransitionEvent | AnimationEvent) & {
|
14 | deadline?: boolean;
|
15 | };
|
16 | export declare type MotionPrepareEventHandler = (element: HTMLElement) => Promise<any> | void;
|
17 | export declare type MotionEventHandler = (element: HTMLElement, event: MotionEvent) => React.CSSProperties | void;
|
18 | export declare type MotionEndEventHandler = (element: HTMLElement, event: MotionEvent) => boolean | void;
|