Skip to content

HotkeyChordRegistrationView

Defined in: hotkey-manager.ts:311

Public view of a chord registration, without its callback.

Extends

  • RegistrationViewBase

Properties

alternateOf?

ts
optional alternateOf?: string;

Defined in: hotkey-manager.ts:302

For a further registration of platformHotkeys, the id of the first hotkey of the same call that registered. The first one has none. Group a list by alternateOf ?? id to get the registrations of one call.

Inherited from

ts
RegistrationViewBase.alternateOf

hasFired

ts
hasFired: boolean;

Defined in: hotkey-manager.ts:291

Inherited from

ts
RegistrationViewBase.hasFired

hotkey

ts
hotkey: HotkeyChord;

Defined in: hotkey-manager.ts:313


id

ts
id: string;

Defined in: hotkey-manager.ts:286

Inherited from

ts
RegistrationViewBase.id

kind

ts
kind: "chord";

Defined in: hotkey-manager.ts:312


options

ts
options: HotkeyChordOptions;

Defined in: hotkey-manager.ts:315


parsedChord

ts
parsedChord: ParsedHotkeyChord;

Defined in: hotkey-manager.ts:314


platformHotkeys?

ts
optional platformHotkeys?: PlatformHotkeys;

Defined in: hotkey-manager.ts:296

The hotkey object this was registered with, if any. hotkey is its entry for this platform, or one of its alternates.

Inherited from

ts
RegistrationViewBase.platformHotkeys

status

ts
status: HotkeyRegistrationStatus;

Defined in: hotkey-manager.ts:288

Whether the registration is enabled and in an active scope.

Inherited from

ts
RegistrationViewBase.status

target

ts
target: Target;

Defined in: hotkey-manager.ts:289

Inherited from

ts
RegistrationViewBase.target

trigger

ts
trigger: (event?) => boolean;

Defined in: hotkey-manager.ts:307

Runs the registration's callback, as for a command palette entry. See HotkeyManager.trigger.

Parameters

event?

KeyboardEvent

Returns

boolean

Inherited from

ts
RegistrationViewBase.trigger

triggerCount

ts
triggerCount: number;

Defined in: hotkey-manager.ts:290

Inherited from

ts
RegistrationViewBase.triggerCount