vanilla-back-to-top
Advanced tools
Comparing version 4.0.2 to 4.0.3
{ | ||
"name": "vanilla-back-to-top", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Configurable zero dependency Back To Top button", | ||
@@ -5,0 +5,0 @@ "main": "dist/vanilla-back-to-top.umd.min.js", |
# Vanilla Back To Top | ||
Configurable zero dependency Back To Top button that will work for [93.86% of all users](http://browserl.ist/?q=explorer+%3E%3D10%2Cexplorermobile+%3E%3D10%2Cedge+%3E%3D0%2Cfirefox+%3E%3D2%2Cfirefoxandroid+%3E%3D57%2Cchrome+%3E%3D4%2Csafari+%3E%3D5.1%2Copera+%3E%3D12.1%2Coperamobile+%3E%3D12.1%2Cchromeandroid+%3E%3D62%2Cios+%3E%3D7.1%2Cucandroid+%3E%3D11.4%2Candroid+%3E%3D4.4%2Csamsung+%3E%3D4%2Cblackberry+%3E%3D7) worldwide. | ||
Configurable zero dependency Back To Top button that will work for [93.86% of all users](http://browserl.ist/?q=explorer+%3E%3D10%2Cexplorermobile+%3E%3D10%2Cedge+%3E%3D0%2Cfirefox+%3E%3D2%2Cfirefoxandroid+%3E%3D57%2Cchrome+%3E%3D4%2Csafari+%3E%3D5.1%2Copera+%3E%3D12.1%2Coperamobile+%3E%3D12.1%2Cchromeandroid+%3E%3D62%2Cios+%3E%3D7.1%2Cucandroid+%3E%3D11.4%2Candroid+%3E%3D4.4%2Csamsung+%3E%3D4%2Cblackberry+%3E%3D7) worldwide | ||
Ideal for pre-rendered static websites with no frameworks, e.g., [Jekyll](https://jekyllrb.com), [Hugo](http://gohugo.io/) or [Hexo](https://hexo.io/). | ||
Ideal for pre-rendered static websites with no frameworks, e.g., [Jekyll](https://jekyllrb.com), [Hugo](http://gohugo.io/) or [Hexo](https://hexo.io/) | ||
<img src="http://i.pi.gy/DoaQa.gif" width="300px"/> | ||
Consider [★ starring](https://github.com/vfeskov/vanilla-back-to-top) if you like it. | ||
Consider [★ starring](https://github.com/vfeskov/vanilla-back-to-top) if you like it! | ||
@@ -15,7 +15,7 @@ ## How to use | ||
```html | ||
<script src="https://unpkg.com/vanilla-back-to-top@4.0.2/dist/vanilla-back-to-top.min.js"></script> | ||
<script src="https://unpkg.com/vanilla-back-to-top@4.0.3/dist/vanilla-back-to-top.min.js"></script> | ||
<script>addBackToTop({})</script> | ||
``` | ||
If you don't want to rely on [unpkg.com](https://unpkg.com/#/about), save [the file](https://unpkg.com/vanilla-back-to-top@4.0.2/dist/vanilla-back-to-top.min.js) to your project and serve it from your server: | ||
If you don't want to rely on [unpkg.com](https://unpkg.com/#/about), save [the file](https://unpkg.com/vanilla-back-to-top@4.0.3/dist/vanilla-back-to-top.min.js) to your project and serve it from your server: | ||
```html | ||
@@ -22,0 +22,0 @@ <script src="/assets/vanilla-back-to-top.min.js"></script> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10164