vanilla-back-to-top
Advanced tools
Comparing version 4.0.1 to 4.0.2
{ | ||
"name": "vanilla-back-to-top", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Configurable zero dependency Back To Top button", | ||
@@ -5,0 +5,0 @@ "main": "dist/vanilla-back-to-top.umd.min.js", |
@@ -9,2 +9,4 @@ # Vanilla Back To Top | ||
Consider [★ starring](https://github.com/vfeskov/vanilla-back-to-top) if you like it. | ||
## How to use | ||
@@ -14,7 +16,7 @@ | ||
```html | ||
<script src="https://unpkg.com/vanilla-back-to-top@4.0.1/dist/vanilla-back-to-top.min.js"></script> | ||
<script src="https://unpkg.com/vanilla-back-to-top@4.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@4.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@4.0.2/dist/vanilla-back-to-top.min.js) to your project and serve it from your server: | ||
```html | ||
@@ -21,0 +23,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
10166
102