0.0.5 • Published 5 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
5 years ago
0.0.3
5 years ago
0.0.4
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago
0.0.0-dev.28
5 years ago
0.0.0-dev.27
5 years ago
0.0.0-dev.26
5 years ago
0.0.0-dev.25
5 years ago
0.0.0-dev.24
5 years ago