Interface QuickToCallback
interface QuickToCallback {
keys: AnimationKey[];
options: ((options: QuickTweenOptions) => QuickToCallback);
(...args: (string | number)[]): void;
(arg: Partial<{
height: string | number;
left: string | number;
maxHeight: string | number;
maxWidth: string | number;
minHeight: string | number;
minWidth: string | number;
rotateX: string | number;
rotateY: string | number;
rotateZ: string | number;
rotation: string | number;
scale: string | number;
top: string | number;
translateX: string | number;
translateY: string | number;
translateZ: string | number;
width: string | number;
zIndex: string | number;
}>): void;
}
keys: AnimationKey[];
options: ((options: QuickTweenOptions) => QuickToCallback);
(...args: (string | number)[]): void;
(arg: Partial<{
height: string | number;
left: string | number;
maxHeight: string | number;
maxWidth: string | number;
minHeight: string | number;
minWidth: string | number;
rotateX: string | number;
rotateY: string | number;
rotateZ: string | number;
rotation: string | number;
scale: string | number;
top: string | number;
translateX: string | number;
translateY: string | number;
translateZ: string | number;
width: string | number;
zIndex: string | number;
}>): void;
}
Hierarchy
- QuickToCallback (view full)
- Quick
To (...args): voidCallback Parameters
Rest
...args: (string | number)[]Individual numbers or relative strings corresponding to the order in which animation keys are specified.
Returns void
- Quick
To (arg): voidCallback Parameters
- arg: Partial<{
height: string | number;
left: string | number;
maxHeight: string | number;
maxWidth: string | number;
minHeight: string | number;
minWidth: string | number;
rotateX: string | number;
rotateY: string | number;
rotateZ: string | number;
rotation: string | number;
scale: string | number;
top: string | number;
translateX: string | number;
translateY: string | number;
translateZ: string | number;
width: string | number;
zIndex: string | number;
}>A single object with animation keys specified and numerical or relative string values.
Returns void
- arg: Partial<{
Properties
Readonly
keys
The keys assigned for this quickTo callback.
options
Sets options of quickTo tween.
Type declaration
- (options): QuickToCallback
Parameters
- options: QuickTweenOptions
Quick tween options.
Returns QuickToCallback
This quickTo callback function.
- options: QuickTweenOptions
The
quickTo
callback function returned from AnimationAPI.quickTo.