Skip to content

Command

Command/search panel invoked by shortcut (similar to VS Code Command Palette).

Basic Usage

loading

API

PropDescriptionType
modelValueWhether visibleboolean
placeholderSearch input placeholderstring
groupsGroups and command itemsCommandGroup[]

CommandGroup: { name: string, items: CommandItem[] }.
CommandItem: { id: string, label: string, icon?: string, shortcut?: string }.

Events: select (when an item is selected).

MIT License