@progress/kendo-vue-layout
Version:
56 lines (55 loc) • 1.64 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { SVGIcon } from '@progress/kendo-vue-common';
/**
* An interface for the Drawer items.
*/
export interface DrawerItemProps {
/**
* Specifies if the Drawer item is disabled.
*/
disabled?: boolean;
/**
* Defines the name for an existing icon in a Kendo UI for Vue theme.
* The icon is rendered inside the Drawer item by a `span.k-icon` element.
*/
icon?: string;
/**
* Defines an SVGIcon to be rendered within the Drawer item.
*/
svgIcon?: SVGIcon;
/**
* Specifies if the Drawer item is initially selected.
*/
selected?: boolean;
/**
* Specifies if this is a separator item.
*/
separator?: boolean;
/**
* Specifies the text content of the Drawer item.
*/
text?: string;
/**
* Sets the index of the DrawerItem that is used to identify it.
*/
index?: number;
/**
* Sets the `tabIndex` property of the DrawerItem.
* Defaults to `0`.
*/
tabIndex?: number;
/**
* Sets a custom property. Contained in the DrawerItem props that are returned from the `onSelect` Drawer event.
*/
[customProp: string]: any;
/**
* @hidden
*/
onSelect?(target?: any, idx?: number): void;
}