will-change
Hints which properties will change to optimize rendering.
Formal Syntax
auto | <animateable-feature>#
JavaScript Access
// Access via element.style
element.style.willChange = 'auto';
Browser Support
| Feature | Chrome | Firefox | Safari | Edge |
|---|---|---|---|---|
| will-change | 36 | 36 | 9.1 | 79 |
| auto | 36 | 36 | 9.1 | 79 |
| contents | 36 | 36 | 9.1 | 79 |
| scroll-position | 36 | 36 | 9.1 | 79 |