Preparing search index...
The search index is not available
@bryce-loskie/utils
@bryce-loskie/utils
dom
rafThrottleFn
Function rafThrottleFn
raf
Throttle
Fn
(
fn
:
Function
)
:
(
(
...
args
:
any
[]
)
=>
void
)
Use raf to throttle a function
Parameters
fn:
Function
Returns
(
(
...
args
:
any
[]
)
=>
void
)
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@bryce-
loskie/utils
dom
index
General
Event
Listener
Event
Keys
Event
Target
Scroll
Target
cancel
Raf
check
Webp
Feature
get
Scroll
Offset
next
Frame
off
on
once
pure
Raf
raf
raf
Throttle
Fn
Generated using
TypeDoc
Use raf to throttle a function