wx-ezhan
Preparing search index...
utils/common
debounce
Function debounce
debounce
(
fn
:
()
=>
void
,
delay
?:
number
)
:
(
...
args
:
any
)
=>
void
生成防抖函数
Parameters
fn
:
()
=>
void
需要进行防抖的函数
delay
:
number
= 500
防抖时间
Returns
(
...
args
:
any
)
=>
void
防抖处理后的函数
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
wx-ezhan
Loading...
生成防抖函数