Type Alias: UiControlEventHandlers<Events>
UiControlEventHandlers<
Events
> ={ [Event in keyof Events as `on${Event & string}`]: Events[Event] }
Defined in: src/sdk/components/controls/HardwareUiControl.tsx:18
Maps an event definition type to an event handler interface. Each event in the definition type is mapped to a
handler with the name on[Event]
.
Type Parameters
Type Parameter |
---|
Events |