useWindowShortcut
Overview
A Vue composition function for handling window shortcuts.
Signature
useWindowShortcut(props)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| props | object | yes | The props. |
props Properties
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| triggers | object[] | The triggers. |
Returns
void
Source
client/lib/use/useWindowShortcut.js:37