Socket
Socket
Sign inDemoInstall

vanilla-back-to-top

Package Overview
Dependencies
0
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "vanilla-back-to-top",
"version": "1.0.2",
"version": "1.0.3",
"description": "Configurable zero dependency Back To Top button",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -13,7 +13,6 @@ # Vanilla Back To Top

```
<script src="https://unpkg.com/vanilla-back-to-top/dist/index.js"></script>
<script src="https://unpkg.com/vanilla-back-to-top@1.0.3/dist/index.js"></script>
<script>addBackToTop({})</script>
```
Optionally customise CSS of the button using `#back-to-top` selector, e.g.:

@@ -20,0 +19,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc