New to Kendo UI for Vue? Start a free 30-day trial

PanelBarProps

Interface

Represents the props of the Kendo UI for Vue PanelBar component.

Definition

Package:@progress/kendo-vue-layout

Properties

animation?

boolean

Sets if the PanelBar animates the expanding and collapsing of its items.

Default:

true

Adds a custom CSS class to the PanelBar.

dir?

string

Sets the dir HTML attribute of the PanelBar. Use it to switch between LTR and RTL.

expanded?

string[]

Sets the expanded items of the PanelBar. An expanded item gets the aria-expanded attribute.

Sets the expand mode of the PanelBar (see example).

The available modes are:

  • "single"—Lets you expand only one item at a time. When you expand an item, the item that was expanded before collapses.
  • "multiple" (default)—Lets you expand two or more items at a time. You can also toggle the items.
Default:

multiple

focused?

string | number

Sets the item that is focused when the PanelBar first renders.

Sets if you use the PanelBar in controlled mode.

items?

any[]

Sets the items of the PanelBar.

Sets if the PanelBar keeps the content of collapsed items mounted.

Default:

false

Fires each time the user selects an item (see example).

selected?

string | number

Sets the selected item of the PanelBar. When you set it, it overrides the selected item in the PanelBar state. The selected item gets the aria-selected attribute.