ExpansionPanel
Represents the Kendo UI for Vue ExpansionPanel component. Use the ExpansionPanel to show and hide content in a panel that the user can expand and collapse.
Definition
Package:@progress/kendo-vue-layout
Properties Interface:ExpansionPanelProps
Syntax:
<ExpansionPanel
:title="'Shipping address'"
:subtitle="'Required'"
:expanded="expanded"
@action="expanded = !expanded"
>
<ExpansionPanelContent>
<p>221B Baker Street, London</p>
</ExpansionPanelContent>
</ExpansionPanel>
Properties
ariaControls?
string
Sets the aria-controls attribute of the ExpansionPanel header. Set it to the id of the content element that the header controls.
class?
string
Sets additional CSS classes to the ExpansionPanel.
collapseIcon?
string
Sets a custom font icon for the collapsed state of the ExpansionPanel through CSS classes.
collapseSvgIcon?
SVGIcon
Sets an SVG icon for the collapsed state of the ExpansionPanel.
dir?
string
Sets the dir HTML attribute of the ExpansionPanel. Use it to switch between LTR and RTL.
disabled?
boolean
Sets the disabled state of the ExpansionPanel. The header also uses this value for its aria-disabled attribute.
expanded?
boolean
Sets the expanded state of the ExpansionPanel. The header also uses this value for its aria-expanded attribute.
false
expandIcon?
string
Sets a custom font icon for the expanded state of the ExpansionPanel through CSS classes.
expandSvgIcon?
SVGIcon
Sets an SVG icon for the expanded state of the ExpansionPanel.
id?
string
Sets the id attribute of the root ExpansionPanel element.
onAction?
(event: ExpansionPanelActionEvent) => void
Fires when the user clicks the header or presses Enter or Space on it.
Use it to change the expanded state of the ExpansionPanel.
subtitle?
string
Sets the secondary text in the header of the ExpansionPanel. The ExpansionPanel renders it next to the expand and collapse icon.
Sets a custom template for the secondary text in the header of the ExpansionPanel. The ExpansionPanel renders it next to the expand and collapse icon.
tabIndex?
number
Sets the tabIndex of the ExpansionPanel header.
title?
string
Sets the primary text in the header of the ExpansionPanel.
titleRender?
any
Sets a custom template for the primary text in the header of the ExpansionPanel.
References
Represents the ExpansionPanel ref.