@progress/kendo-angular-layout
Version:
Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts
64 lines (63 loc) • 1.86 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { SVGIcon } from "@progress/kendo-svg-icons";
/**
* Defines the items model of the PanelBar. These are the interface fields that the PanelBar items use.
*/
export interface PanelBarItemModel {
/**
* Sets the title of the PanelBar item.
*/
title: string;
/**
* Allows the component to set the `"id"` property of each item.
*/
id: string;
/**
* Defines the icon that renders next to the title.
*/
icon: string;
/**
* Defines the icon that renders next to the title by using a custom CSS class.
*/
iconClass: string;
/**
* Defines an SVG icon to render.
* You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
*/
svgIcon?: SVGIcon;
/**
* Defines the location of the image that displays next to the title.
*/
imageUrl: string;
/**
* When set to `true`, disables a PanelBar item.
*/
disabled: boolean;
/**
* When set to `true`, expands the PanelBar item.
*/
expanded: boolean;
/**
* Sets the focused state of a PanelBar item.
*/
focused: boolean;
/**
* Sets the selected state of a PanelBar item.
*/
selected: boolean;
/**
* Specifies if the item will be hidden.
*/
hidden?: boolean;
/**
* Defines the child items as an array.
*/
children: Array<PanelBarItemModel>;
/**
* Sets the content of the PanelBar item.
*/
content: any;
}