IHotKey Interface

Provides information about a hot key used to perform an action assigned to a menu item.

Declaration

export interface IHotKey

Properties

ctrlKey Property

Specifies whether the CTRL key is used in combination with a hot key.

Declaration

ctrlKey: boolean

Property Value

Type Description
boolean

true, if the CTRL key is included into the key combination; otherwise, false.

keyCode Property

Specifies a hot key code.

Declaration

keyCode: number

Property Value

Type Description
number

An integer value that specifies the hot key code.