photoswipe
Version:
JavaScript gallery
15 lines (14 loc) • 466 B
TypeScript
export default SpringAnimation;
export type AnimationProps = import('./animations.js').AnimationProps;
/** @typedef {import('./animations.js').AnimationProps} AnimationProps */
declare class SpringAnimation {
/**
* @param {AnimationProps} props
*/
constructor(props: AnimationProps);
props: import("./animations.js").AnimationProps;
/** @type {() => void} */
onFinish: () => void;
_raf: number;
destroy(): void;
}