0.0.5 • Published 4 years ago
denfield-webp-hero v0.0.5
denfield-webp-hero
browser polyfill for the webp image format
This is a clone of webp-hero package with support for background images.
Please see original documentation https://github.com/chase-moskal/webp-hero.
You can pass list of selectors to be find and the script will recognize if this is an image or div element with background-image style.
Example
<script>
var webpMachine = new webpHero.WebpMachine()
webpMachine.polyfillDocument({selectors: "img, .bg"})
</script>
0.0.5
4 years ago
0.0.3
4 years ago
0.0.4
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago
0.0.0-dev.28
4 years ago
0.0.0-dev.27
4 years ago
0.0.0-dev.26
4 years ago
0.0.0-dev.25
4 years ago
0.0.0-dev.24
4 years ago