BlogPlaygroundOne

VCommandPaletteItem API


Props
name
type
default
number
undefined

The index of the item within the command palette list.

{
  type: 'item'
  onClick: (event: MouseEvent | KeyboardEvent, value: any) => void
  value: any
  hotkey: string
  title: string
  subtitle: string
  prependIcon: string
  appendIcon: string
  prependAvatar: string
  appendAvatar: string
  to: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric
  href: string
}
undefined

The command palette item data object.

Events
name
type
[MouseEvent | KeyboardEvent]

MISSING DESCRIPTION (edit in github)

Slots
never
never
never

Adds an item inside the input and after input content.

Adds an item outside the input and before input content.

Slot for the component’s title content.