BlogPlaygroundOne

VTreeviewGroup API


Props
name
type
default
string
undefined

Deprecated, use color instead.

  | string
  | (new () => any)
  | FunctionalComponent
  | (string | [string, number])[]
undefined

Creates a v-icon component after default content in the append slot.

string
undefined

Sets the color of component when not focused.

  | string
  | (new () => any)
  | FunctionalComponent
  | (string | [string, number])[]
'$treeviewCollapse'

Icon to display when the list item is expanded.

string
undefined

Applies specified color to the control - supports utility colors with or without text- prefix (for example success, purple or text-purple) or CSS color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

boolean
false

Puts all children inputs into a disabled state.

  | string
  | (new () => any)
  | FunctionalComponent
  | (string | [string, number])[]
'$treeviewExpand'

Icon to display when the list item is collapsed.

boolean
false

Removes indentation from nested items.

  | string
  | (new () => any)
  | FunctionalComponent
  | (string | [string, number])[]
undefined

Prepends an icon to the component, uses the same syntax as v-icon.

string | number
undefined

Defines the root element’s id attribute in the component. If it is provided, the id attribute will be dynamically generated in the format: “v-list-group–id-[rawId]”.

string | (new () => any) | FunctionalComponent
'div'

Specify a custom tag used on the root element.

string
undefined

Specify a title text for the component.

any
undefined

Expands / Collapse the list-group.

Slots
{ isOpen: boolean; props: Record<string, unknown> }
never

When used, will activate the component when clicked (or hover for specific components). This manually stops the event propagation. Without this slot, if you open the component through its model, you will need to manually stop the event propagation.

The default Vue slot.