Files
Modernizr/feature-detects/webanimations.js
Veeck 9ee04d2426 Js doc cleanup (#2333)
* Cleanup note tags

* Lots of http -> https conversions

* Misc cleanups

* Review changes
2018-06-29 14:00:26 +02:00

20 lines
556 B
JavaScript

/*!
{
"name": "Web Animation API",
"property": "webanimations",
"caniuse": "web-animation",
"tags": ["webanimations"],
"polyfills": ["webanimationsjs"],
"notes": [{
"name": "Introducing Web Animations",
"href": "https://birtles.wordpress.com/2013/06/26/introducing-web-animations/"
}]
}
!*/
/* DOC
Detects support for the Web Animation API, a way to create css animations in js
*/
define(['Modernizr', 'createElement'], function(Modernizr, createElement) {
Modernizr.addTest('webanimations', 'animate' in createElement('div'));
});