- itsm/ -> workspace/guardia-itsm/ - manager/ -> workspace/guardia-manager/ - app/ -> workspace/guardia-messenger/ - manual/ -> workspace/guardia-docs/ workspace/zioinfo-web/ unchanged. git mv preserves full commit history. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
902 B
TypeScript
20 lines
902 B
TypeScript
import { EventHandler } from './addEventListener';
|
|
import { TransformValue } from './isTransform';
|
|
import { Property } from './types';
|
|
declare type AnimateProperties = Record<Property | TransformValue, string>;
|
|
interface Options {
|
|
node: HTMLElement;
|
|
properties: AnimateProperties;
|
|
duration?: number;
|
|
easing?: string;
|
|
callback?: EventHandler<'transitionend'>;
|
|
}
|
|
interface Cancel {
|
|
cancel(): void;
|
|
}
|
|
declare function animate(options: Options): Cancel;
|
|
declare function animate(node: HTMLElement, properties: AnimateProperties, duration: number): Cancel;
|
|
declare function animate(node: HTMLElement, properties: AnimateProperties, duration: number, callback: EventHandler<'transitionend'>): Cancel;
|
|
declare function animate(node: HTMLElement, properties: AnimateProperties, duration: number, easing: string, callback: EventHandler<'transitionend'>): Cancel;
|
|
export default animate;
|