API: Core
createScrollLock
Function reference for createScrollLock.
Overview
- Kind: Function
- Source: packages/core/src/scroll-lock/scroll-lock.ts:15
Signature
function createScrollLock(document: Document | null | undefined): ScrollLock
| Parameter | Type | Optional | Description |
|---|---|---|---|
document |
Document | null | undefined |
Returns ScrollLock