CustomDispatch<'T> Type
Custom events
Union cases
Union case | Description |
Full Usage:
Bubbles bool
Parameters:
bool
|
|
Full Usage:
Composed bool
Parameters:
bool
|
|
Full Usage:
Detail 'T
Parameters:
'T
|
|
Static members
Static member | Description |
Full Usage:
CustomDispatch.dispatch (target, name, data)
Parameters:
EventTarget
name : string
data : 'T
|
|
Full Usage:
CustomDispatch.dispatch (e, name, props)
Parameters:
Event
name : string
props : CustomDispatch<'T> list
|
|
Full Usage:
CustomDispatch.dispatch (target, name, props)
Parameters:
EventTarget
name : string
props : CustomDispatch<'T> list
|
|
|
|
|
|
Full Usage:
CustomDispatch.toCustomEvent props
Parameters:
CustomDispatch<'T> list
Returns: CustomEventInit<'T>
|
|