๐ฐ JS โฉ browser โฉ DOM โฉ types โฉ Window โฉ scrolling โฉ lock
function lockScroll(locked=true){ document.body.style.overflow = locked ? "hidden" : ''; }
JS.info โฉ Forbid the scrolling
Last updated 2 years ago