New to Kendo UI for Vue? Start a free 30-day trial
Custom Properties
Updated over 6 months ago
To better identify with which element the user interacts, the PanelBar allows you to set any type of properties to the PanelBarItem.
Getting Started
You can set the custom property by passing the property to the Items definition as follows.
jsx
items: [
{
title: 'First item',
content: 'first',
myCustomProp: 'This information is passed through a custom property',
expanded: true,
},
........................
]
Accessing Properties
You can access a PanelBar Item property from:
- The
targetof theonSelectevent. - The
propsobject inside a template of a custom PanelBar item.
Change Theme
Theme
Loading ...