UNPKG

@foblex/flow-animator

Version:
14 lines (13 loc) 508 B
/** * Class representing a request to animate a specific element. */ export declare class AnimateElementRequest { readonly element: HTMLElement | SVGPathElement; readonly duration: number; /** * Creates an instance of AnimateElementRequest. * @param {HTMLElement | SVGPathElement} element - The element to be animated. * @param {number} duration - The duration of the animation in milliseconds. */ constructor(element: HTMLElement | SVGPathElement, duration: number); }