@progress/kendo-vue-layout
Version:
25 lines (24 loc) • 915 B
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 { DrawerAnimation } from '../interfaces/DrawerAnimation';
import { DrawerItemProps } from '../interfaces/DrawerItemProps';
/** @hidden */
export type DrawerContextType = {
animation?: boolean | DrawerAnimation;
expanded?: boolean;
mode?: 'overlay' | 'push';
position?: 'start' | 'end';
mini?: boolean;
dir?: string;
items?: Array<DrawerItemProps>;
item?: any;
width?: number;
miniWidth?: number;
onOverlayClick?: (event: any) => void;
onSelect?: (target: any, idx: number) => void;
};