Interface

KeystrokeInfo (utils)

@ckeditor/ckeditor5-utils/src/keyboard

interface

Information about the keystroke.

Filtering

Properties

  • altKey : boolean

    Whether the Alt modifier was pressed.

  • ctrlKey : boolean

    Whether the Ctrl modifier was pressed.

  • keyCode : number

  • metaKey : boolean

    Whether the Cmd modifier was pressed.

  • shiftKey : boolean

    Whether the Shift modifier was pressed.