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

scrolldir

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrolldir - npm Package Compare versions

Comparing version 1.1.8 to 1.2.0

2

package.json
{
"name": "scrolldir",
"version": "1.1.8",
"version": "1.2.0",
"description": "Vertical scroll direction in CSS",

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

@@ -63,10 +63,11 @@ <figure align="center">

## Setup 📤
Default:
Add **dist/scrolldir.min.js**.
Auto:
Add **dist/scrolldir.auto.min.js** and your done! Scrolldir will **just** conveniently work.
### Auto
Add **dist/scrolldir.auto.min.js** and your done. There is no more configuration to do! Scrolldir will **just** conveniently work.
## Usage 🛠
### Default
Add **dist/scrolldir.min.js**. You have access to the API options below and must invoke scrollDir. See the [Default Setup Usage](#default) and [Options](#options) below.
<h2 id="default">Defaut Setup Usage 🛠</h2>
```javascript

@@ -95,3 +96,3 @@ scrollDir();

## Options ⚗
<h2 id="options">Options ⚗</h2>

@@ -98,0 +99,0 @@ To use an attribute besides `data-scrolldir`:

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