charton API / @chart-on/ui / index / CommandPalettePart
Type Alias: CommandPalettePart
CommandPalettePart = (
chart,host,onOpenChange) =>CommandPalette
Defined in: ui/src/command-palette.ts:286
The shell's commandPalette part, made by commandPalette(options). The shell calls it with its chart, its element and a callback for when the palette opens or closes.
Parameters
chart
host
HTMLElement
onOpenChange
(open) => void