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.4.1 to 0.4.2

28

build/cjs/src/index.js

@@ -55,18 +55,18 @@ "use strict";

* @typedef {object} ScrollInfoType
* @property {boolean} atTop
* @property {boolean} atRight
* @property {boolean} atBottom
* @property {boolean} atLeft
* @property {boolean} isScrollUp
* @property {boolean} isScrollRight
* @property {boolean} isScrollDown
* @property {boolean} isScrollLeft
* @property {number} scrollWidth
* @property {number} scrollHeight
* @property {number} scrollNodeWidth
* @property {number} scrollNodeHeight
* @property {number} top
* @property {number} right
* @property {number} bottom
* @property {number} left
* @property {boolean} [atTop]
* @property {boolean} [atRight]
* @property {boolean} [atBottom]
* @property {boolean} [atLeft]
* @property {boolean} [isScrollUp]
* @property {boolean} [isScrollRight]
* @property {boolean} [isScrollDown]
* @property {boolean} [isScrollLeft]
* @property {number} [scrollWidth]
* @property {number} [scrollHeight]
* @property {number} [scrollNodeWidth]
* @property {number} [scrollNodeHeight]
* @property {number} [right]
* @property {number} [bottom]
*/

@@ -73,0 +73,0 @@

{
"version": "0.4.1",
"version": "0.4.2",
"name": "get-scroll-info",

@@ -4,0 +4,0 @@ "repository": {

export default getScrollInfo;
export type ThisDocument = object & Document;
export type ScrollInfoType = {
atTop: boolean;
atRight: boolean;
atBottom: boolean;
atLeft: boolean;
isScrollUp: boolean;
isScrollRight: boolean;
isScrollDown: boolean;
isScrollLeft: boolean;
scrollWidth: number;
scrollHeight: number;
scrollNodeWidth: number;
scrollNodeHeight: number;
top: number;
right: number;
bottom: number;
left: number;
atTop?: boolean;
atRight?: boolean;
atBottom?: boolean;
atLeft?: boolean;
isScrollUp?: boolean;
isScrollRight?: boolean;
isScrollDown?: boolean;
isScrollLeft?: boolean;
scrollWidth?: number;
scrollHeight?: number;
scrollNodeWidth?: number;
scrollNodeHeight?: number;
right?: number;
bottom?: number;
};
/**
* @typedef {object} ScrollInfoType
* @property {boolean} atTop
* @property {boolean} atRight
* @property {boolean} atBottom
* @property {boolean} atLeft
* @property {boolean} isScrollUp
* @property {boolean} isScrollRight
* @property {boolean} isScrollDown
* @property {boolean} isScrollLeft
* @property {number} scrollWidth
* @property {number} scrollHeight
* @property {number} scrollNodeWidth
* @property {number} scrollNodeHeight
* @property {number} top
* @property {number} right
* @property {number} bottom
* @property {number} left
* @property {boolean} [atTop]
* @property {boolean} [atRight]
* @property {boolean} [atBottom]
* @property {boolean} [atLeft]
* @property {boolean} [isScrollUp]
* @property {boolean} [isScrollRight]
* @property {boolean} [isScrollDown]
* @property {boolean} [isScrollLeft]
* @property {number} [scrollWidth]
* @property {number} [scrollHeight]
* @property {number} [scrollNodeWidth]
* @property {number} [scrollNodeHeight]
* @property {number} [right]
* @property {number} [bottom]
*/

@@ -40,0 +40,0 @@ /**

Sorry, the diff of this file is not supported yet

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