@foblex/flow-animator
Version:
Animation library for @foblex/flow.
14 lines (13 loc) • 508 B
TypeScript
/**
* 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);
}