1.1.0 • Published 3 years ago
webp-avif-support v1.1.0
webp-avif-support
Exports a function to check if browser support AVIF and WebP.
Classes avif
, webp
, notavif
and notwebp
will be added to the html root element.
Usage
import checkImageSupport from './imgsupport.js'
checkImageSupport()