Interface GroupQuickToCallback
interface GroupQuickToCallback {
keys: AnimationKey[];
options: ((options: QuickTweenOptions | GroupQuickTweenOptionsCallback) => GroupQuickToCallback);
(arg: GroupDataCallback): void;
(...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 | GroupQuickTweenOptionsCallback) => GroupQuickToCallback);
(arg: GroupDataCallback): void;
(...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
- GroupQuickToCallback (view full)
- Group
Quick (arg): voidTo Callback Parameters
- arg: GroupDataCallback
A callback function invoked for unique positional data for each instance of the group.
Returns void
- arg: GroupDataCallback
- Group
Quick (...args): voidTo Callback Parameters
Rest
...args: (string | number)[]Individual numbers or relative strings corresponding to the order in which animation keys are specified.
Returns void
- Group
Quick (arg): voidTo Callback 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): GroupQuickToCallback
Parameters
- options: QuickTweenOptions | GroupQuickTweenOptionsCallback
Quick tween options or callback function returning options per instance of the group.
Returns GroupQuickToCallback
This quickTo callback function.
- options: QuickTweenOptions | GroupQuickTweenOptionsCallback
The
quickTo
callback function returned from AnimationGroupAPI.quickTo. ExtendsQuickToCallback
accepting functions for setting each instance of group with new position data and / or options.