unregister
Module @netwiv/api/plugins/global-shortcut · Kind Function
import { unregister } from '@netwiv/api/plugins/global-shortcut';Unregister a global shortcut or a list of shortcuts.
Signature
Section titled “Signature”function unregister(shortcuts: string | string[]): Promise<void>Example
Section titled “Example”import { unregister } from '@netwiv/api/plugins/global-shortcut';
// unregister a single hotkeyawait unregister('CmdOrControl+Space');
// or unregister multiple hotkeys at the same timeawait unregister(['CmdOrControl+Space', 'Alt+A']);Upstream since 2.0.0
Descriptions come from the pinned @tauri-apps/plugin-global-shortcut@2.3.2 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.