
static.js.vendor.modernizr.feature-detects.css.will-change.js Maven / Gradle / Ivy
The newest version!
/*!
{
"name": "will-change",
"property": "willchange",
"notes": [{
"name": "Spec",
"href": "http://tabatkins.github.io/specs/css-will-change/"
}]
}
!*/
/* DOC
Detects support for the `will-change` css property, which formally signals to the
browser that an element will be animating.
*/
define(['Modernizr', 'docElement'], function(Modernizr, docElement) {
Modernizr.addTest('willchange', 'willChange' in docElement.style);
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy