ShortcutState

View as Markdown

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.

TypeScript
export interface ShortcutState extends
Extends

BaseState

Properties

PropertyTypeDescription
ShortcutsShortcut[]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.

TypeScript
Shortcuts?: Shortcut[];
Property Value

Shortcut[]