This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
@webanimate/webanimate with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Use Web Animations API easier.
This is alpha. Please don't use it. Stable version coming very soon.
$ yarn add webanimate
$ npm install webanimate
import webanimate from 'webanimate'
Or load from CDN:
options as listed here plus 2 additional options:
play(Boolean) - whether to play animation after creation or not
all(Boolean) - whether to use
falsepasses selectors to
document.querySelectorand returns single animation or
Arrayof animations or