ContextMenuCheckboxItem
Overview
A checkable item within a context menu.
Theme entry: ContextMenuCheckboxItem
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| iconOverride | Object | null | A partial icon registry ({ [componentName]: { [iconName]: { component, props } } }) merged with inherited and default icon entries; scopes icon overrides to this component and its descendants. | |
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes to apply to the root element. | |
| as | string|object | undefined | The element or component to render as. | |
| asChild | boolean | false | When true, merges props onto the child element instead of rendering a wrapper. | |
| disabled | boolean | undefined | When true, prevents the user from interacting with the item. | |
| textValue | string | undefined | Optional text used for typeahead purposes. | |
| modelValue | boolean|string | undefined | The controlled checked state of the item. |
Slots
default
Slot.
Events
| Name | Description |
|---|---|
select | Emitted when an item is selected. |
update:modelValue | Emitted when the value changes. |
Source
client/lib/navigation/context-menu/ContextMenuCheckboxItem.vue