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 7.1.2 to 7.1.3

2

MORE.md
## Other ways to install
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.1.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@7.1.3/dist/vanilla-back-to-top.min.js) to your project and serve it from your server:
```html

@@ -5,0 +5,0 @@ <script src="/assets/vanilla-back-to-top.min.js"></script>

{
"name": "vanilla-back-to-top",
"version": "7.1.2",
"version": "7.1.3",
"description": "Tiny and configurable Back To Top button with no dependencies",

@@ -5,0 +5,0 @@ "main": "dist/vanilla-back-to-top.umd.js",

@@ -14,2 +14,10 @@ # Vanilla Back To Top

## Features
- Hides when on top
- Scrolls up smoothly when clicked
- Up-to-date Material-like UX
- Compatible with [really old browsers](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)
- No dependencies or requirements
## How to use

@@ -19,3 +27,3 @@

```html
<script src="https://unpkg.com/vanilla-back-to-top@7.1.2/dist/vanilla-back-to-top.min.js"></script>
<script src="https://unpkg.com/vanilla-back-to-top@7.1.3/dist/vanilla-back-to-top.min.js"></script>
<script>addBackToTop({

@@ -28,10 +36,2 @@ diameter: 56,

## Features
- Hides when on top
- Scrolls up smoothly when clicked
- Up-to-date Material-like UX
- Compatible with [really old browsers](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)
- No dependencies or requirements
## More ways to use and examples

@@ -38,0 +38,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