Search
Preparing search index...
The search index is not available
@dadajam4/scroller
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"scroll/util"
External module "scroll/util"
Index
Type aliases
HTMLElement
Event
Map
Key
Variables
SUPPORTS_
PASSIVE
_supports
Passive
Functions
$
cumulative
Offset
error
get
Container
Dimension
is
Body
Element
off
on
warn
Type aliases
HTMLElement
Event
Map
Key
HTMLElement
Event
Map
Key
:
keyof HTMLElementEventMap
|
"DOMMouseScroll"
|
"mousewheel"
Variables
Const
SUPPORTS_
PASSIVE
SUPPORTS_
PASSIVE
:
boolean
= _supportsPassive
Let
_supports
Passive
_supports
Passive
:
boolean
= false
Functions
$
$
(
selectorOrElement
:
string
|
Element
)
:
HTMLElement
|
null
Parameters
selectorOrElement:
string
|
Element
Returns
HTMLElement
|
null
cumulative
Offset
cumulative
Offset
(
element
:
Element
)
:
object
Parameters
element:
Element
Returns
object
left
:
number
top
:
number
error
error
(
message
:
string
)
:
Error
Parameters
message:
string
Returns
Error
get
Container
Dimension
get
Container
Dimension
(
el
:
Element
)
:
object
Parameters
el:
Element
Returns
object
height
:
number
width
:
number
is
Body
Element
is
Body
Element
(
el
:
Element
)
:
boolean
Parameters
el:
Element
Returns
boolean
off
off
(
element
:
Element
, events
:
HTMLElementEventMapKey
|
HTMLElementEventMapKey
[]
, handler
:
EventListenerOrEventListenerObject
)
:
void
Parameters
element:
Element
events:
HTMLElementEventMapKey
|
HTMLElementEventMapKey
[]
handler:
EventListenerOrEventListenerObject
Returns
void
on
on
(
element
:
Element
, events
:
HTMLElementEventMapKey
|
HTMLElementEventMapKey
[]
, handler
:
EventListenerOrEventListenerObject
, opts
?:
object
)
:
void
Parameters
element:
Element
events:
HTMLElementEventMapKey
|
HTMLElementEventMapKey
[]
handler:
EventListenerOrEventListenerObject
Default value
opts:
object
= { passive: false }
passive
:
boolean
Returns
void
warn
warn
(
message
:
string
)
:
void
Parameters
message:
string
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"
HTMLElement
Event
Map
Key
SUPPORTS_
PASSIVE
_supports
Passive
$
cumulative
Offset
error
get
Container
Dimension
is
Body
Element
off
on
warn
Generated using
TypeDoc