vanilla-back-to-top
Advanced tools
Comparing version 7.0.1 to 7.0.2
{ | ||
"name": "vanilla-back-to-top", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"description": "Tiny and configurable Back To Top button with no dependencies", | ||
@@ -5,0 +5,0 @@ "main": "dist/vanilla-back-to-top.umd.js", |
@@ -8,9 +8,9 @@ # Vanilla Back To Top | ||
Tiny and configurable Back To Top button with no dependencies that will work for [basically all users in the world](http://browserl.ist/?q=explorer+%3E%3D9%2Cexplorermobile+%3E%3D10%2Cedge+%3E%3D12%2Cfirefox+%3E%3D2%2Cfirefoxandroid+%3E%3D2%2Cchrome+%3E%3D4%2Csafari+%3E%3D5.1%2Copera+%3E%3D11.5%2Coperamobile+%3E%3D12%2Cchromeandroid+%3E%3D4%2Cios+%3E%3D7.1%2Cucandroid+%3E%3D11.4%2Candroid+%3E%3D3%2Csamsung+%3E%3D4%2Cblackberry+%3E%3D7) | ||
Tiny but highly configurable Back To Top button with no dependencies that will work for [basically all users in the world](http://browserl.ist/?q=explorer+%3E%3D9%2Cexplorermobile+%3E%3D10%2Cedge+%3E%3D12%2Cfirefox+%3E%3D2%2Cfirefoxandroid+%3E%3D2%2Cchrome+%3E%3D4%2Csafari+%3E%3D5.1%2Copera+%3E%3D11.5%2Coperamobile+%3E%3D12%2Cchromeandroid+%3E%3D4%2Cios+%3E%3D7.1%2Cucandroid+%3E%3D11.4%2Candroid+%3E%3D3%2Csamsung+%3E%3D4%2Cblackberry+%3E%3D7) | ||
Works universally great **with** frameworks - [React](https://reactjs.org/), [Angular](https://angular.io/), [Vue](https://vuejs.org/) etc, and **without** them, e.g., on pre-rendered static websites like [Jekyll](https://jekyllrb.com), [Hugo](http://gohugo.io/) or [Hexo](https://hexo.io/) | ||
<img src="https://i.pi.gy/Vab3n.gif" width="300px"/> | ||
<img src="https://i.pi.gy/ee5b5.gif" width="320px"/> | ||
Just the button: <img src="https://i.pi.gy/xkg2d.gif" width="98px"/> | ||
Just the button: <img src="https://i.pi.gy/PEAo9.gif" width="102px"/> | ||
@@ -25,7 +25,7 @@ ## How to use | ||
```html | ||
<script src="https://unpkg.com/vanilla-back-to-top@7.0.1/dist/vanilla-back-to-top.min.js"></script> | ||
<script src="https://unpkg.com/vanilla-back-to-top@7.0.2/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@7.0.1/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@7.0.2/dist/vanilla-back-to-top.min.js) to your project and serve it from your server: | ||
```html | ||
@@ -70,3 +70,3 @@ <script src="/assets/vanilla-back-to-top.min.js"></script> | ||
- Change colors: <img src="https://i.pi.gy/GYQNv.png" width="65" /> | ||
- Change colors: <img src="https://i.pi.gy/j3GO0.png" width="68" /> | ||
```js | ||
@@ -79,3 +79,3 @@ addBackToTop({ | ||
- Change size: <img src="https://i.pi.gy/drmp0.png" width="48" /> | ||
- Change size: <img src="https://i.pi.gy/30OGz.png" width="50" /> | ||
```js | ||
@@ -82,0 +82,0 @@ addBackToTop({ |
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
15758