A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/web_animations/Animatable below:

Animatable ยท WebPlatform Docs

Animatable Summary

Objects that may be the target of an Animation implement the Animatable interface.

Properties

No properties.

Methods
animate
Creates a new Animation object whose animation target is the object on which the method is called, and calls the play method of the AnimationTimeline object of the document timeline of the node document [DOM4] of the element, passing the newly created Animation as the argument to the method.
Events

No events.

Examples
elem.ownerDocument.timeline.play(anim);
var anim = new Animation(elem, { opacity: 0 }, 2000);
var anim = elem.animate({ opacity: 0 }, 2000);
Related specifications
Web Animations 1.0
W3C Working Draft

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