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 Summary)
- GroupQuickToCallback(arg: GroupDataCallback): void
Parameters
- arg: GroupDataCallback
A callback function invoked for unique positional data for each instance of the group.
Returns void
- arg: GroupDataCallback
- GroupQuickToCallback(...args: (string | number)[]): void
Parameters
- ...args: (string | number)[]
Individual numbers or relative strings corresponding to the order in which animation keys are specified.
Returns void
- ...args: (string | number)[]
- GroupQuickToCallback(
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 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: QuickTweenOptions | GroupQuickTweenOptionsCallback,
): 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.