shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
lockScroll
Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.dom.scroll
Lock the scroll of the page
Params
- $target”window”HTMLElement|Window
The target on which to lock the scroll (default to window)
Example
import { lockScroll } from '@blackbyte/sugar/dom'
lockScroll();Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space