PanelBar
Represents the Kendo UI for Vue PanelBar component. Accepts properties of type PanelBarProps.
Definition
Package:@progress/kendo-vue-layout
Properties Interface:PanelBarProps
Syntax:
<PanelBar
:items="[
{ title: 'Accounts', expanded: true, items: [{ title: 'Checking' }, { title: 'Savings' }] },
{ title: 'Payments', items: [{ title: 'Scheduled' }, { title: 'History' }] },
{ title: 'Statements' }
]"
:expand-mode="'single'"
:animation="true"
@select="onSelect"
/>
Properties
animation?
boolean
Sets if the PanelBar animates the expanding and collapsing of its items.
true
className?
string
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.
multiple
focused?
string | number
Sets the item that is focused when the PanelBar first renders.
isControlled?
boolean
Sets if you use the PanelBar in controlled mode.
items?
any[]
Sets the items of the PanelBar.
keepItemsMounted?
boolean
Sets if the PanelBar keeps the content of collapsed items mounted.
false
onSelect?
(event: PanelBarSelectEventArguments) => void
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.