-
Notifications
You must be signed in to change notification settings - Fork 0
Config
Ivan Mattie edited this page Aug 26, 2016
·
3 revisions
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.