Preparing search index...
The search index is not available
taomu-routes
taomu-routes
hooks/use-custom-event
useCustomEvent
Function useCustomEvent
useCustomEvent
<
K
extends
string
,
E
=
any
>
(
key
:
K
,
cb
?:
(
e
:
E
)
=>
void
,
deps
?:
DependencyList
,
)
:
void
监听自定义事件
Type Parameters
K
extends
string
E
=
any
Parameters
key
:
K
Optional
cb
:
(
e
:
E
)
=>
void
deps
:
DependencyList
= []
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
taomu-routes
Loading...
监听自定义事件