Config - OwlTechnology/CommandPalette.js GitHub Wiki

All configuration settings can be set either when you construct the CommandPalette object, or afterwards using the config() method:

palette.config({
   id: "paletteId",
   hotkey: "ctrl+alt+delete"
});

Bellow is a list of all configuration names, default values and input type.


###id Default: "CommandPalette"

Sets the parent Command Palette element to the ID of the string chosen.


###hotkey Default: "cmd-shift-p"

Sets the hotkey to open the command palette in the format "key+key+[...]". The terms cmd and ctrl are interchangeable.


###hidden Default: true

Sets whether or not the command palette is hidden by default. If it is hidden, invoking the palette through its key shortcut or the wake() method will also display it.