@progress/kendo-vue-layout
Version:
82 lines (81 loc) • 2.35 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';
/**
* Represents the props of the Kendo UI for Vue ActionSheetItem.
*/
export interface ActionSheetItemProps {
/**
* Sets additional CSS classes to the ActionSheetItem.
*/
class?: string;
/**
* Sets additional CSS styles to the ActionSheetItem.
*/
style?: object;
/**
* Specifies additional text rendered under the item's title.
*/
description?: string;
/**
* Specifies if the ActionSheet item is initially disabled.
*/
disabled?: boolean;
/**
* Defines the group of the item. Items can be segregated in two groups - `top` and `bottom`.
* Each specifying whether the ActionSheet item will be rendered over the separator or under it.
*/
group?: 'top' | 'bottom' | string;
/**
* Defines the icon rendered inside the ActionSheet item.
*/
icon?: string;
/**
* Defines an SVGIcon to be rendered inside the ActionSheet item.
*/
svgIcon?: SVGIcon;
/**
* Defines an size of the icon or SVGIcon that is rendered inside the ActionSheet item.
*/
iconSize?: string;
/**
* Defines the color of the icon or SVGIcon that is rendered inside the ActionSheet item.
*/
iconColor?: string;
/**
* Specifies the text content of the ActionSheet item.
*/
title?: string;
/**
* @hidden
*/
item?: object;
/**
* Sets the content of the ActionSheetItem either as string that is pointing to a slot template of as render function.
*/
content?: string | Function;
/**
* @hidden
*/
onClick?: (event: {
event: any;
title?: string;
}) => void;
/**
* @hidden
*/
onKeydown?: (event: any, title: string | undefined, id: number | undefined) => void;
/**
* @hidden
*/
id?: number;
/**
* The tabIndex of the ActionSheetItem.
*/
tabIndex?: number;
}