ui/client/features/command-palette/components/CommandPalette
Cockpit client (features), v0.8. Source: ui/client/features/command-palette/components/CommandPalette.tsx.
Functions#
CommandPalette()#
CommandPalette(
__namedParameters):Element|null
Defined in: ui/client/features/command-palette/components/CommandPalette.tsx:8
The Ctrl K palette: a modal dialog holding a combobox (search input) and its listbox of commands. Focus stays in the input (options are reached with the arrow keys via aria-activedescendant), so Tab has nowhere else to go and is held inside the dialog; Esc or a click outside closes it.
Props#
No documented props.
Returns#
Element | null