@progress/kendo-vue-layout
Version:
119 lines (118 loc) • 3.06 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 { PropType } from 'vue';
/**
* The props that are passed by the TabStripNavigation to the TabStripNavigationItem.
*/
export interface TabStripNavigationItemProps {
/**
* Defines whether the current TabStripNavigationItem is selected.
*/
active?: boolean;
/**
* Defines whether the TabStripNavigationItem is disabled.
*/
disabled?: boolean;
/**
* Sets the index of the TabStripNavigationItem that is used to identify it.
*/
index: number;
/**
* Sets the id of the TabStripNavigationItem.
*/
id?: any;
/**
* Sets the title of the TabStripNavigationItem.
*/
title?: any;
/**
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
*/
titleRender?: any;
/**
* @hidden
*/
first?: boolean;
/**
* @hidden
*/
last?: boolean;
}
/**
* The emits that are triggered by the TabStripNavigation to the TabStripNavigationItem.
*/
export interface TabStripNavigationItemEmits {
/**
* @hidden
*/
select?(idx: number): void;
}
/**
* @hidden
*/
export interface TabStripNavigationItemComputed {
[key: string]: any;
itemClasses: object;
}
/**
* @hidden
*/
declare const TabStripNavigationItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
active: PropType<boolean>;
disabled: PropType<boolean>;
index: PropType<number>;
title: {
type: PropType<any>;
default: string;
};
id: {
type: PropType<any>;
};
titleRender: PropType<any>;
first: {
type: PropType<boolean>;
default: any;
};
last: {
type: PropType<boolean>;
default: any;
};
}>, {}, {}, {
itemClasses(): TabStripNavigationItemComputed['itemClasses'];
}, {
onClick(): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
select: any;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
active: PropType<boolean>;
disabled: PropType<boolean>;
index: PropType<number>;
title: {
type: PropType<any>;
default: string;
};
id: {
type: PropType<any>;
};
titleRender: PropType<any>;
first: {
type: PropType<boolean>;
default: any;
};
last: {
type: PropType<boolean>;
default: any;
};
}>> & Readonly<{
onSelect?: (...args: any[] | unknown[]) => any;
}>, {
title: any;
first: boolean;
last: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export { TabStripNavigationItem };