HotkeyComponent.onChange method
HotkeyComponent › onChange
Sets the callback to be called when the user records or clears a hotkey.Signature:
onChange(callback: (newValue: Hotkey | null) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | (newValue: Hotkey | null) => void | The callback. |
Returns: this — The component.