BlogPlaygroundOne

VExpansionPanels API


Props
name
type
default
string
undefined

Applies specified color to the control’s background. Used on components that also support the color prop. - supports utility colors with or without bg- prefix (for example success, purple or bg-purple) or CSS color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

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

Icon used when the expansion panel is in a collapsable state.

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 components into a disabled state.

boolean
false

Forces the component’s content to render when it mounts. This is useful if you have content that will not be rendered in the DOM that you want crawled for SEO.

string | number
undefined

Designates an elevation applied to the component between 0 and 5. You can find more information on the elevation page.

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

Icon used when the expansion panel is in a expandable state.

boolean
false

Removes the expansion-panel’s elevation and borders.

boolean
false

Makes the expansion-panel headers focusable.

boolean
false

Hide the expand icon in the content title.

boolean | 'force'
false

Forces at least one item to always be selected (if available).

number
undefined

Sets a maximum number of selections that can be made.

unknown
undefined

Controls expanded panel(s). Defaults to an empty array when using multiple prop. It is recommended to set unique value prop for the panels inside, otherwise index is used instead.

boolean
false

Allows one to select multiple items.

boolean
false

Makes the entire expansion panel read only.

boolean | { class: string; keys: string[] }
false

Applies the v-ripple directive.

string | number | boolean
undefined

Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page.

string
undefined

Configure the active CSS class applied when an item is selected.

boolean
false

Remove title size expansion when selected.

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

Specify a custom tag used on the root element.

string
undefined

Specify a theme for this component and all of its children.

boolean
false

Removes the border-radius.

'default' | 'inset' | 'accordion' | 'popout'
'default'

Applies a distinct style to the component.

Events
name
type
[unknown]

Event that is emitted when the component’s model changes.

Slots
{ prev: () => void; next: () => void }

The default Vue slot.

Exposed
() => void
() => void

Open the next panel from the currently selected panel.

Open the previous panel from the currently selected panel.