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.