Baseline Widely available
This feature is well established and works across many devices and browser versions. Itâs been available across browsers since March 2020.
The Animation.id
property of the Web Animations API returns or sets a string used to identify the animation.
A string which can be used to identify the animation, or null
if the animation has no id
.
In the Follow the White Rabbit example, you can assign the rabbitDownAnimation
an id
like so:
js
rabbitDownAnimation.id = "rabbitGo";
Specifications Specification Web Animations RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4