Skip to content

CommandShortcut

Overview

Displays a keyboard shortcut hint aligned to the right of a CommandItem.

Theme entry: CommandShortcut

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
keysstring|arrayundefinedStructured shortcut key labels. Prefer this over slot text so each physical key renders as a Kbd chip.

Slots

default

Slot.

Source

client/lib/controls/command/CommandShortcut.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2