AboutSupportDeveloper GuideVersion 34.118.78.65
Event: {
    hotkey: "string";
    topic: "global-hotkey";
} & (RegisteredEvent | UnregisteredEvent)

Union containing every possible event that can be emitted by GlobalHotkey. Events are discriminated by their type. Event payloads unique to GlobalHotkey can be found under the GlobalHotkeyEvents namespace.

Type declaration

  • hotkey: "string"
  • topic: "global-hotkey"