📄 index.ts¶
📊 Analysis Summary¶
| Metric | Count |
|---|---|
| 🔧 Functions | 1 |
| 📦 Imports | 4 |
| 📐 Interfaces | 1 |
| 📑 Type Aliases | 1 |
📚 Table of Contents¶
🛠️ File Location:¶
📂 packages/core/useWindowScroll/index.ts
📦 Imports¶
| Name | Source |
|---|---|
ConfigurableWindow |
../_configurable |
UseScrollOptions |
../useScroll |
defaultWindow |
../_configurable |
useScroll |
../useScroll |
Functions¶
useWindowScroll(options: UseWindowScrollOptions): { x: any; y: any; isScrolling: any; arrivedState: any; directions: any; measure(): void; }¶
Code
-
JSDoc:
-
Parameters:
options: UseWindowScrollOptions- Return Type:
{ x: any; y: any; isScrolling: any; arrivedState: any; directions: any; measure(): void; } - Calls:
useScroll (from ../useScroll)