Search
Preparing search index...
The search index is not available
@dadajam4/scroller
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"prevent-scroll"
External module "prevent-scroll"
Index
Interfaces
Prevent
Scroll
Context
Prevent
Scroll
Element
Prevent
Scroll
Options
Variables
SCROLLABLE_
KEY_
CODES
event
Listener
Options
Functions
disable
Scroll
enable
Scroll
handle
Keydown
handle
Scroll
handle
Wheel
Variables
Const
SCROLLABLE_
KEY_
CODES
SCROLLABLE_
KEY_
CODES
:
number
[]
= [32, 33, 34, 35, 36, 37, 38, 39, 40]
Const
event
Listener
Options
event
Listener
Options
:
AddEventListenerOptions
|
boolean
= SUPPORTS_PASSIVE ? {passive: false,} : false
Functions
disable
Scroll
disable
Scroll
(
el
:
Element
, opts
?:
Partial
<
PreventScrollOptions
>
)
:
void
Parameters
el:
Element
Default value
opts:
Partial
<
PreventScrollOptions
>
= {}
Returns
void
enable
Scroll
enable
Scroll
(
el
:
Element
)
:
void
Parameters
el:
Element
Returns
void
Const
handle
Keydown
handle
Keydown
(
e
:
KeyboardEvent
)
:
void
Parameters
e:
KeyboardEvent
Returns
void
Const
handle
Scroll
handle
Scroll
(
e
:
Event
)
:
void
Parameters
e:
Event
Returns
void
Const
handle
Wheel
handle
Wheel
(
e
:
WheelEvent
)
:
void
Parameters
e:
WheelEvent
Returns
void
Globals
"polyfills"
"prevent-
scroll"
"scroll/easings"
"scroll/index"
"scroll/scroll-
by"
"scroll/scroll-
by-
internal"
"scroll/scroll-
to"
"scroll/scroll-
to-
element"
"scroll/scroll-
to-
side"
"scroll/util"
"scroller"
"util"
Prevent
Scroll
Context
Prevent
Scroll
Element
Prevent
Scroll
Options
SCROLLABLE_
KEY_
CODES
event
Listener
Options
disable
Scroll
enable
Scroll
handle
Keydown
handle
Scroll
handle
Wheel
Generated using
TypeDoc