Skip to main content

KeyboardEventModifiers

type

A KeyboardEvent or structurally similar object with a string `key` as well as `altKey`, `ctrlKey`, `metaKey`, and `shiftKey` boolean properties.

type KeyboardEventModifiers = Pick<KeyboardEvent, 'key' | 'code' | 'metaKey' | 'ctrlKey' | 'shiftKey' | 'altKey'>

Import

import { KeyboardEventModifiers } from '@modular/sdk/editor';