Interface LibraryPresetMotionEffects
interface LibraryPresetMotionEffects { ~move-to: { defaultConfig: {}; immutableConfig: {}; generateKeyframes(targetElem: undefined | null | Element,
translationOptions?: Partial<MoveToOptions>): { backwardFrames: { translate: string; }[]; forwardFrames: { translate: string; }[]; }; }; ~translate: { defaultConfig: {}; immutableConfig: {}; generateKeyframes(translationOptions?: Partial<TranslateOptions>): { backwardFrames: { translate: string; }[]; forwardFrames: { translate: string; }[]; }; }; } Properties
~move-to
~move-to: { defaultConfig: {}; immutableConfig: {}; generateKeyframes(targetElem: undefined | null | Element,
translationOptions?: Partial<MoveToOptions>): { backwardFrames: { translate: string; }[]; forwardFrames: { translate: string; }[]; }; } = ... Type declaration
defaultConfig: {}
immutableConfig: {}
generateKeyframes:function
- generateKeyframes(targetElem, translationOptions?): {
backwardFrames: {
translate: string;
}[];
forwardFrames: {
translate: string;
}[];
} Returns {
backwardFrames: {
translate: string;
}[];
forwardFrames: {
translate: string;
}[];
}
backwardFrames: {
translate: string;
}[]
forwardFrames: {
translate: string;
}[]
~translate
~translate: { defaultConfig: {}; immutableConfig: {}; generateKeyframes(translationOptions?: Partial<TranslateOptions>): { backwardFrames: { translate: string; }[]; forwardFrames: { translate: string; }[]; }; } = ... Type declaration
defaultConfig: {}
immutableConfig: {}
generateKeyframes:function
- generateKeyframes(translationOptions?): {
backwardFrames: {
translate: string;
}[];
forwardFrames: {
translate: string;
}[];
} Returns {
backwardFrames: {
translate: string;
}[];
forwardFrames: {
translate: string;
}[];
}
backwardFrames: {
translate: string;
}[]
forwardFrames: {
translate: string;
}[]
Typings for the preset motion animation effects that come with the library's motion effect bank.