Skip to main content
cngx-src documentation

provideCommandPaletteConfig

Functionui/command-palettev0.1.0

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

Description#

Provide a palette configuration at app root.

provideCommandPaletteConfig(
  withCommandPaletteLabels({ emptyLabel: 'Keine Treffer.' }),
  withKeyboardLegend([{ keys: 'enter', label: 'Ausführen' }]),
)

Signature#

provideCommandPaletteConfig(...features: undefined)

Parameters#

@paramfeatures

Returns#

EnvironmentProviders