Namespace: GlobalHotkey

GlobalHotkey

The GlobalHotkey module can register/unregister a global hotkeys.

Methods

isRegistered() → {Promise.<bookean>}

Checks if a given hotkey has been registered

Tutorials:
Returns:
Type
Promise.<bookean>

register() → {Promise.<void>}

Registers a global hotkey with the operating system.

Tutorials:
Returns:
Type
Promise.<void>

unregister() → {Promise.<void>}

Unregisters a global hotkey with the operating system.

Tutorials:
Returns:
Type
Promise.<void>

unregisterAll() → {Promise.<void>}

Unregisters all global hotkeys for the current application.

Tutorials:
Returns:
Type
Promise.<void>