Interface LibraryPresetMotionEffects
interface LibraryPresetMotionEffects { ~move-to: { defaultConfig: {}; effectCompositionFrequency: "on-every-play"; immutableConfig: { composite: "accumulate"; }; composeEffect(targetElem: undefined | null | Element,
translationOptions?: Partial<MoveToOptions>): { backwardKeyframesGenerator: (() => { translate: string; }[]); forwardKeyframesGenerator: (() => { translate: string; }[]); }; }; ~translate: { defaultConfig: { composite: "accumulate"; }; effectCompositionFrequency: "on-first-play-only"; immutableConfig: {}; composeEffect(translationOptions?: Partial<TranslateOptions>): { backwardKeyframesGenerator: (() => { translate: string; }[]); forwardKeyframesGenerator: (() => { translate: string; }[]); }; }; } Properties
~move-to
~move-to: { defaultConfig: {}; effectCompositionFrequency: "on-every-play"; immutableConfig: { composite: "accumulate"; }; composeEffect(targetElem: undefined | null | Element,
translationOptions?: Partial<MoveToOptions>): { backwardKeyframesGenerator: (() => { translate: string; }[]); forwardKeyframesGenerator: (() => { translate: string; }[]); }; } = ... Type declaration
defaultConfig: {}
effectCompositionFrequency: "on-every-play"
immutableConfig: {
composite: "accumulate";
}
Readonly
composite: "accumulate"
composeEffect:function
- composeEffect(targetElem, translationOptions?): {
backwardKeyframesGenerator: (() => {
translate: string;
}[]);
forwardKeyframesGenerator: (() => {
translate: string;
}[]);
} Returns {
backwardKeyframesGenerator: (() => {
translate: string;
}[]);
forwardKeyframesGenerator: (() => {
translate: string;
}[]);
}
backwardKeyframesGenerator: (() => {
translate: string;
}[])
- (): {
translate: string;
}[] Returns {
translate: string;
}[]
forwardKeyframesGenerator: (() => {
translate: string;
}[])
- (): {
translate: string;
}[] Returns {
translate: string;
}[]
~translate
~translate: { defaultConfig: { composite: "accumulate"; }; effectCompositionFrequency: "on-first-play-only"; immutableConfig: {}; composeEffect(translationOptions?: Partial<TranslateOptions>): { backwardKeyframesGenerator: (() => { translate: string; }[]); forwardKeyframesGenerator: (() => { translate: string; }[]); }; } = ... Type declaration
defaultConfig: {
composite: "accumulate";
}
Readonly
composite: "accumulate"
effectCompositionFrequency: "on-first-play-only"
immutableConfig: {}
composeEffect:function
- composeEffect(translationOptions?): {
backwardKeyframesGenerator: (() => {
translate: string;
}[]);
forwardKeyframesGenerator: (() => {
translate: string;
}[]);
} Returns {
backwardKeyframesGenerator: (() => {
translate: string;
}[]);
forwardKeyframesGenerator: (() => {
translate: string;
}[]);
}
backwardKeyframesGenerator: (() => {
translate: string;
}[])
- (): {
translate: string;
}[] Returns {
translate: string;
}[]
forwardKeyframesGenerator: (() => {
translate: string;
}[])
- (): {
translate: string;
}[] Returns {
translate: string;
}[]
Typings for the preset motion animation effects that come with the library's motion effect bank.