Skip to main content
cngx-src documentation

CngxPaletteKeybinding

Interface

projects/ui/command-palette/palette/palette-keybinding.ts

Import#

import { CngxPaletteKeybinding } from '@cngx/ui/command-palette'

Description#

Handle returned by a palette keybinding: a teardown that removes the document listener. The palette recreates the keybinding whenever the resolved combo changes and tears the previous one down, so nothing leaks document-wide.

Index#

Methods

Methods#

teardown#void

Removes the installed document keydown listener.