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.10 to 7.1.11

size-shield.svg

2

INSTALL.md
# Install
If you don't want to rely on [unpkg.com](https://unpkg.com/#/about), save [the file](https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/v7.1.10/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://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/v7.1.11/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.10",
"version": "7.1.11",
"description": "Simple and smooth Back To Top button with no dependencies",

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

# Vanilla Back To Top
[![No Dependencies](http://svgshare.com/i/4rU.svg)](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.10/package.json)
[![File Size](https://img.shields.io/github/size/vfeskov/vanilla-back-to-top/dist/vanilla-back-to-top.min.js.gz.svg)](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.10/dist/vanilla-back-to-top.min.js.gz)
[![No Dependencies](http://svgshare.com/i/4rU.svg)](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.11/package.json)
[![File Size](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.11/size-shield.svg)](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.11/dist/vanilla-back-to-top.min.js.gz)
[![Downloads](https://img.shields.io/npm/dm/vanilla-back-to-top.svg)](https://www.npmjs.com/package/vanilla-back-to-top)

@@ -10,3 +10,3 @@

[<img src="https://i.pi.gy/O1Gbz.png" width="67" /><img src="https://i.pi.gy/8Z0Nj.png" width="54"><img src="https://i.pi.gy/0P8Nr.png" width="120"><img src="https://i.pi.gy/Vabg0.png" width="72">](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.10/EXAMPLES.md)<br/>
[<img src="https://i.pi.gy/O1Gbz.png" width="67" /><img src="https://i.pi.gy/8Z0Nj.png" width="54"><img src="https://i.pi.gy/0P8Nr.png" width="120"><img src="https://i.pi.gy/Vabg0.png" width="72">](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.11/EXAMPLES.md)<br/>

@@ -25,3 +25,3 @@ <img src="https://i.pi.gy/ee5b5.gif" width="320px"/>

- Great for static websites on [Jekyll](https://jekyllrb.com/), [Hexo](https://hexo.io), [Hugo](https://gohugo.io/) etc
- Great with [Vue](https://vuejs.org/), [React](https://reactjs.org/), [Angular](https://angular.io/) etc, see [INSTALL](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.10/INSTALL.md#import)
- Great with [Vue](https://vuejs.org/), [React](https://reactjs.org/), [Angular](https://angular.io/) etc, see [INSTALL](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.11/INSTALL.md#import)

@@ -32,3 +32,3 @@ ## How to use

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

@@ -40,11 +40,11 @@ diameter: 56,

```
For alternative installation see [INSTALL](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.10/INSTALL.md)
For alternative installation see [INSTALL](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.11/INSTALL.md)
See [EXAMPLES](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.10/EXAMPLES.md)
See [EXAMPLES](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.11/EXAMPLES.md)
For all options see [OPTIONS](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.10/OPTIONS.md)
For all options see [OPTIONS](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.11/OPTIONS.md)
## License
MIT, see [LICENSE](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.10/LICENSE)
MIT, see [LICENSE](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.11/LICENSE)

@@ -51,0 +51,0 @@ Default icon from [Material Design Icons](https://material.io/icons/#ic_keyboard_arrow_up) under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), which only restricts re-selling the icon

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