Optional ReadonlybindReadonlycommandsThe commands on offer. The palette never invents its own.
Pass a function to have them collected each time the palette opens, needed when the source is built after the palette itself, and it keeps a derived list (see paletteCommandsFromMenus) current.
Optional ReadonlycontainerWhere the overlay is appended (default: the document body).
Optional ReadonlyemptyOptional ReadonlymaxCap on rendered rows (default 50). The filter runs over everything.
Optional ReadonlyonCalled with the updated list each time a command runs.
Optional ReadonlyplaceholderOptional ReadonlyrecentNames of the commands run last, newest first, listed before everything
else until something is typed. Pass what onRecent last reported to keep
them from one session to the next.
Optional ReadonlyrecentHeading over the recent commands (default "Recently used").
Bind Ctrl/Cmd+K and Ctrl/Cmd+Shift+P (default true).