# ShortcutState

Canonical page: https://www.adaptabletools.com/docs/reference/shortcutstate

Shortcut section of Adaptable State, including Initial State.

Each shortcut updates a numeric cell while its editor is open and `ShortcutKey` is pressed. The cell value is the first operand and `ShortcutValue` is the second. `ShortcutOperation` is `'Add'`, `'Subtract'`, `'Multiply'` or `'Divide'`. The first shortcut whose key and scope match is used. A `ShortcutValue` of `0` is ignored.

```ts title="TypeScript"
export interface ShortcutState extends BaseState 
```

###### Extends

[`BaseState`](https://www.adaptabletools.com/docs/reference/basestate.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [Shortcuts](https://www.adaptabletools.com/docs/reference/shortcutstate.md#shortcuts) | [`Shortcut`](https://www.adaptabletools.com/docs/reference/shortcut.md)`[]` | Shortcuts to apply. Each one names numeric columns, a key, an operation and the second operand. |

## Property Details

### Shortcuts

Shortcuts to apply. Each one names numeric columns, a key, an operation and the second operand.

```ts title="TypeScript"
Shortcuts?: Shortcut[];
```

###### Property Value

[`Shortcut`](https://www.adaptabletools.com/docs/reference/shortcut.md)`[]`
