Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>Animation

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface Animation
implements EventTarget
import { type Animation } from "https://deno.land/x/windmill@v1.298.0/node_modules/evt/lib/types/lib.dom.d.ts";

Properties

currentTime: number | null
effect: AnimationEffect | null
readonly
finished: Promise<Animation>
id: string
oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null
onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null
readonly
pending: boolean
readonly
playState: AnimationPlayState
playbackRate: number
readonly
ready: Promise<Animation>
startTime: number | null
timeline: AnimationTimeline | null

Methods

cancel(): void
finish(): void
pause(): void
play(): void
reverse(): void
updatePlaybackRate(playbackRate: number): void
addEventListener<K extends keyof AnimationEventMap>(
type: K,
listener: (this: Animation, ev: AnimationEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof AnimationEventMap>(
type: K,
listener: (this: Animation, ev: AnimationEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void