CommandItem.value
property · packages/mixins-ui/src/command.ts:31
readonly value: ValueMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/command.ts:30
interface CommandItem<Value extends string> {
readonly value: Value
readonly label: string
readonly description?: string | undefined
readonly keywords?: ReadonlyArray<string> | undefined
readonly shortcut?: Keys | undefined
readonly icon?: Html | undefined
readonly opensPage?: boolean | undefined
readonly disabled?: boolean | undefined
}CommandItem.valueproperty · packages/mixins-ui/src/command.ts:31
readonly value: ValueCommandItem.labelproperty · packages/mixins-ui/src/command.ts:32
readonly label: stringCommandItem.descriptionproperty · packages/mixins-ui/src/command.ts:34
readonly description?: string | undefinedA line under the label, which the query matches too.
CommandItem.keywordsproperty · packages/mixins-ui/src/command.ts:36
readonly keywords?: ReadonlyArray<string> | undefinedMore words the query matches, beside the label.
CommandItem.shortcutproperty · packages/mixins-ui/src/command.ts:38
readonly shortcut?: Keys | undefinedThe keys that run it elsewhere: drawn at the row's end and named in aria-keyshortcuts.
CommandItem.iconproperty · packages/mixins-ui/src/command.ts:40
readonly icon?: Html | undefinedA picture before the words, such as an Icon.view.
CommandItem.opensPageproperty · packages/mixins-ui/src/command.ts:42
readonly opensPage?: boolean | undefinedIt steps into a page: drawn with a chevron at its end.
CommandItem.disabledproperty · packages/mixins-ui/src/command.ts:43
readonly disabled?: boolean | undefined