---
url: "https://vueda.dev/v3/reference/api/js/use/useWindowShortcut/functions/useWindowShortcut.md"
title: "useWindowShortcut"
---

# useWindowShortcut

## Overview

A Vue composition function for handling window shortcuts.

## Signature

`useWindowShortcut(props)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-props">props</span> | `object` | yes | The props. |

#### props Properties

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="param-props-triggers">triggers</span> | `object[]` |  |  | The triggers. |

### Returns

`void`

## Source

`client/lib/use/useWindowShortcut.js:37`
