get-scroll-info
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10775