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

get-scroll-info

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-scroll-info - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

7

build/src/index.js

@@ -10,3 +10,6 @@ 'use strict';

if (!el) {
el = window;
el = document.body;
if (!el.scrollLeft) {
el = document.documentElement;
}
}

@@ -16,3 +19,3 @@ if (!margin) {

}
var isBody = 'body' === el.nodeName.toLowerCase();
var isBody = el.nodeName && 'body' === el.nodeName.toLowerCase();
var scrollLeft = el.scrollLeft;

@@ -19,0 +22,0 @@ var scrollHeight = el.scrollHeight;

{
"name": "get-scroll-info",
"version": "0.0.0",
"version": "0.0.1",
"description": "Get Scroll Information",

@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism",

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