gsap
Version:
GSAP is a framework-agnostic JavaScript animation library that turns developers into animation superheroes. Build high-performance animations that work in **every** major browser. Animate CSS, SVG, canvas, React, Vue, WebGL, colors, strings, motion paths,
39 lines (31 loc) • 948 B
TypeScript
interface CustomBounceVars {
strength?: number;
endAtStart?: boolean;
squash?: number;
squashID?: string;
}
interface EaseFunction {
(progress: number): number;
}
declare class CustomBounce {
ease: EaseFunction;
constructor(id: string, vars?: CustomBounceVars);
static create(id: string, vars?: CustomBounceVars): EaseFunction;
static register(core: object): void;
}
declare module "gsap/CustomBounce" {
class _CustomBounce extends CustomBounce {}
export { _CustomBounce as CustomBounce };
export { _CustomBounce as default };
}
declare module "gsap/dist/CustomBounce" {
export * from "gsap/CustomBounce";
export { CustomBounce as default } from "gsap/CustomBounce";
}
declare module "gsap/src/CustomBounce" {
export * from "gsap/CustomBounce";
export { CustomBounce as default } from "gsap/CustomBounce";
}
declare module "gsap/all" {
export * from "gsap/CustomBounce";
}