kit
GitHub
npm
Preparing search index...
@knitkode/dom
emitEvent
emitEvent
Function emitEvent
emitEvent
(
type
?:
string
,
detail
?:
{}
)
:
void
Emit event (use only if the targeted browser supports
CustomEvent
s)
Parameters
type
:
string
= "customEvent"
detail
:
{}
= {}
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
kit
Loading...
Emit event (use only if the targeted browser supports
CustomEvents)