react-use-window-scroll
Advanced tools
Comparing version 1.1.3 to 1.1.4
/** | ||
* See documentation: [useScrollBy](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollby--page) | ||
* See documentation: [useScrollBy](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollby--docs) | ||
* | ||
@@ -4,0 +4,0 @@ * This hook scrolls the page by the specified vertical and horizontal amount by using the Window Web API's Window.scrollBy function. |
@@ -33,3 +33,3 @@ "use strict"; | ||
/** | ||
* See documentation: [useScrollBy](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollby--page) | ||
* See documentation: [useScrollBy](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollby--docs) | ||
* | ||
@@ -36,0 +36,0 @@ * This hook scrolls the page by the specified vertical and horizontal amount by using the Window Web API's Window.scrollBy function. |
/** | ||
* See documentation: [useScrollTo](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollto--page) | ||
* See documentation: [useScrollTo](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollto--docs) | ||
* | ||
@@ -4,0 +4,0 @@ * This hook scrolls the page to the specified page coordinates using the Window Web API's Window.scrollTo function. Smooth scrolling behavior (native to the browser) is supported by providing ScrollToOptions. |
@@ -33,3 +33,3 @@ "use strict"; | ||
/** | ||
* See documentation: [useScrollTo](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollto--page) | ||
* See documentation: [useScrollTo](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollto--docs) | ||
* | ||
@@ -36,0 +36,0 @@ * This hook scrolls the page to the specified page coordinates using the Window Web API's Window.scrollTo function. Smooth scrolling behavior (native to the browser) is supported by providing ScrollToOptions. |
{ | ||
"name": "react-use-window-scroll", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"coreVersion": "3.0.5", | ||
@@ -5,0 +5,0 @@ "author": "Justin Mahar <contact@justinmahar.com>", |
@@ -22,3 +22,3 @@ <h2 align="center"> | ||
<a href="https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollto--page#hook-example"><img src="https://justinmahar.github.io/react-use-window-scroll/demo.gif" alt="Demo" /></a> | ||
<a href="https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollto--docs#hook-example"><img src="https://justinmahar.github.io/react-use-window-scroll/demo.gif" alt="Demo" /></a> | ||
@@ -29,4 +29,4 @@ ## Overview | ||
- [`useScrollBy`](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollby--page) - Returns a function to scroll the page up or down by any amount, in pixels. Supports smooth scrolling. | ||
- [`useScrollTo`](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollto--page) - Returns a function to scroll the page to any page coordinates, in pixels. Supports smooth scrolling. | ||
- [`useScrollBy`](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollby--docs) - Returns a function to scroll the page up or down by any amount, in pixels. Supports smooth scrolling. | ||
- [`useScrollTo`](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollto--docs) - Returns a function to scroll the page to any page coordinates, in pixels. Supports smooth scrolling. | ||
@@ -106,3 +106,3 @@ Click either of those to see a live demo (at bottom of page). | ||
Read full [useScrollBy docs](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollby--page). | ||
Read full [useScrollBy docs](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollby--docs). | ||
@@ -130,3 +130,3 @@ ### useScrollTo | ||
Read full [useScrollTo docs](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollto--page). | ||
Read full [useScrollTo docs](https://justinmahar.github.io/react-use-window-scroll/?path=/story/hooks-usescrollto--docs). | ||
@@ -167,2 +167,2 @@ <!-- [lock:typescript] ๐ซ--------------------------------------- --> | ||
See [LICENSE.md](https://justinmahar.github.io/react-use-window-scroll/?path=/story/license--page). | ||
See [LICENSE.md](https://justinmahar.github.io/react-use-window-scroll/?path=/docs/license--docs). |
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
248672