Function: useCanvasHotkey()
useCanvasHotkey(
hotkey,action):undefined|CanvasHotkey
Defined in: diagram/canvasHotkey.tsx:27
Registers an active hotkey while the caller component is mounted on the canvas.
If either hotkey or action is undefined or null, the hotkey will be inactive.
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
Returns
undefined | CanvasHotkey