vanilla-back-to-top
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "vanilla-back-to-top", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Configurable zero dependency Back To Top button", | ||
@@ -5,0 +5,0 @@ "main": "dist/vanilla-back-to-top.min.js", |
@@ -13,9 +13,9 @@ # Vanilla Back To Top | ||
``` | ||
<script src="https://unpkg.com/vanilla-back-to-top@2.0.0/dist/vanilla-back-to-top.min.js"></script> | ||
<script src="https://unpkg.com/vanilla-back-to-top@2.0.1/dist/vanilla-back-to-top.min.js"></script> | ||
<script>addBackToTop({})</script> | ||
``` | ||
If you want to target older browsers and IE 10 add this instead: | ||
If you want to target older browsers and IE 10 add this instead (~15% larger when gzipped): | ||
``` | ||
<script src="https://unpkg.com/vanilla-back-to-top@1.1.3/dist/vanilla-back-to-top.ie10.min.js"></script> | ||
<script src="https://unpkg.com/vanilla-back-to-top@2.0.1/dist/vanilla-back-to-top.ie10.min.js"></script> | ||
<script>addBackToTop({})</script> | ||
@@ -22,0 +22,0 @@ ``` |
5966