element-vir - v26.14.0
Preparing search index...
DefineEvent
Type Alias DefineEvent<EventDetailGeneric>
DefineEvent
:
<
EventTypeNameGeneric
extends
string
>
(
eventType
:
NonEmptyString
<
EventTypeNameGeneric
>
,
)
=>
DefinedTypedEvent
<
EventTypeNameGeneric
,
EventDetailGeneric
>
A function that defines a typed event, used for defining element events in an element's definition.
Type Parameters
EventDetailGeneric
Type Declaration
<
EventTypeNameGeneric
extends
string
>
(
eventType
:
NonEmptyString
<
EventTypeNameGeneric
>
,
)
:
DefinedTypedEvent
<
EventTypeNameGeneric
,
EventDetailGeneric
>
Type Parameters
EventTypeNameGeneric
extends
string
Parameters
eventType
:
NonEmptyString
<
EventTypeNameGeneric
>
Returns
DefinedTypedEvent
<
EventTypeNameGeneric
,
EventDetailGeneric
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
element-vir - v26.14.0
Loading...
A function that defines a typed event, used for defining element events in an element's definition.