Type Alias: UiControlEventHandler()<T, Args>
UiControlEventHandler<
T,Args> = (source, ...args) =>boolean
Defined in: src/sdk/components/controls/HardwareUiControl.tsx:9
A handler for events emitted by UiControl2.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T extends HardwareUiControl<any, any> | - | The type of event sources. |
Args extends any[] | [] | A tuple type describing additional arguments for an event after the source control. Defaults to an empty (zero-length) tuple. |
Parameters
| Parameter | Type |
|---|---|
source | T |
...args | Args |
Returns
boolean