Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vanilla-back-to-top

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilla-back-to-top - npm Package Compare versions

Comparing version 7.1.14 to 7.1.15

10

EXAMPLES.md
# Examples
<img src="https://i.pi.gy/leWN4.png" width="72"/> (default)<br/>
<img src="https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/fd6b302da46f551fe3d1085029fcb8ba67517388/examples/images/default.png" width="66"/> (default)<br/>
```html

@@ -12,3 +12,3 @@ <script>addBackToTop()</script>

<img src="https://i.pi.gy/O1Gbz.png" width="67" /><br/>
<img src="https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/fd6b302da46f551fe3d1085029fcb8ba67517388/examples/images/coral.png" width="66" /><br/>
```html

@@ -26,3 +26,3 @@ <script>addBackToTop({

<img src="https://i.pi.gy/8Z0Nj.png" width="54" /><br/>
<img src="https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/fd6b302da46f551fe3d1085029fcb8ba67517388/examples/images/smaller.png" width="57" /><br/>
```html

@@ -40,3 +40,3 @@ <script>addBackToTop({

<img src="https://i.pi.gy/0P8Nr.png" width="120" /><br/>
<img src="https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/fd6b302da46f551fe3d1085029fcb8ba67517388/examples/images/rectangle.png" width="121" /><br/>
```html

@@ -66,3 +66,3 @@ <script>addBackToTop({

<img src="https://i.pi.gy/Vabg0.png" width="72" /><br/>
<img src="https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/fd6b302da46f551fe3d1085029fcb8ba67517388/examples/images/different-arrow.png" width="72" /><br/>
```html

@@ -69,0 +69,0 @@ <script>addBackToTop({

# 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.14/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.15/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.14",
"version": "7.1.15",
"description": "Simple and tiny Back To Top button with no dependencies. Hides when on top, scrolls up smoothly when clicked. Works equally great with Vue, React, Angular and without frameworks on Jekyll, Hugo and Hexo",

@@ -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.14/package.json)
[![File Size](https://unpkg.com/vanilla-back-to-top@7.1.14/size-shield.svg)](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.14/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.15/package.json)
[![File Size](https://unpkg.com/vanilla-back-to-top@7.1.15/size-shield.svg)](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.15/dist/vanilla-back-to-top.min.js.gz)
[![GitHub stars](https://img.shields.io/github/stars/vfeskov/vanilla-back-to-top.svg?style=social&label=Stars)](https://github.com/vfeskov/vanilla-back-to-top)

@@ -9,5 +9,5 @@

[<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.14/EXAMPLES.md)<br/>
[<img src="https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/fd6b302da46f551fe3d1085029fcb8ba67517388/examples/images/coral.png" width="66" /><img src="https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/fd6b302da46f551fe3d1085029fcb8ba67517388/examples/images/smaller.png" width="57" /><img src="https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/fd6b302da46f551fe3d1085029fcb8ba67517388/examples/images/rectangle.png" width="121" /><img src="https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/fd6b302da46f551fe3d1085029fcb8ba67517388/examples/images/different-arrow.png" width="72" />](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.15/EXAMPLES.md)<br/>
<img src="https://i.pi.gy/ee5b5.gif" width="320px"/>
<img src="https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/fd6b302da46f551fe3d1085029fcb8ba67517388/examples/images/live.gif" width="320px"/>

@@ -23,3 +23,3 @@ [Live demo](https://vfeskov.com/)

- No dependencies or requirements
- Works great with [Vue](https://vuejs.org/), [React](https://reactjs.org/), [Angular](https://angular.io/) and other frameworks, see [INSTALL](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.14/INSTALL.md)
- Works great with [Vue](https://vuejs.org/), [React](https://reactjs.org/), [Angular](https://angular.io/) and other frameworks, see [INSTALL](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.15/INSTALL.md)
- Works great on static websites with [Jekyll](https://jekyllrb.com/), [Hugo](https://gohugo.io/), [Hexo](https://hexo.io) and others

@@ -31,3 +31,3 @@

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

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

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

@@ -50,0 +50,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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc