@progress/kendo-vue-layout
Version:
102 lines (101 loc) • 2.83 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 to the TabStripNavigation by the TabStrip.
*/
export interface TabStripNavigationProps {
/**
* The tabs collection.
*/
tabs?: Array<any>;
/**
* Sets the index of the selected tab. Controlled by the TabStrip component.
*/
selected?: number;
/**
* @hidden
* The event that is triggered when a tab is selected.
*/
onSelect?: (e: number) => void;
/**
* @hidden
* The event that is triggered when a key is pressed.
*/
onKeydown?: (e: number) => void;
/**
* @hidden
*/
tabIndex?: number;
/**
* @hidden
*/
tabPosition?: string;
/**
* @hidden
*/
tabAlignment?: string;
}
/**
* The props that are passed to the TabStripNavigation by the TabStrip.
*/
export interface TabStripNavigationEmits {
/**
* @hidden
*/
keydown?: any;
/**
* @hidden
*/
select?(idx: number): void;
}
/**
* @hidden
*/
export interface TabStripNavigationComputed {
[key: string]: any;
wrapperNavClasses: object;
navClasses: object;
}
/**
* @hidden
*/
declare const TabStripNavigation: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
tabs: PropType<any[]>;
selected: PropType<number>;
tabIndex: PropType<number>;
tabPosition: PropType<string>;
tabAlignment: PropType<string>;
onSelect: PropType<(e: number) => void>;
onKeydown: PropType<(e: number) => void>;
}>, {}, {}, {
wrapperNavClasses(): {
'k-tabstrip-items-wrapper': boolean;
'k-hstack': boolean;
'k-vstack': boolean;
};
navClasses(): string;
}, {
onKeyDown(e: any): void;
onNavigationItemSelect(idx: number): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
select: any;
keydown: any;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
tabs: PropType<any[]>;
selected: PropType<number>;
tabIndex: PropType<number>;
tabPosition: PropType<string>;
tabAlignment: PropType<string>;
onSelect: PropType<(e: number) => void>;
onKeydown: PropType<(e: number) => void>;
}>> & Readonly<{
onSelect?: (...args: any[] | unknown[]) => any;
onKeydown?: (...args: any[] | unknown[]) => any;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export { TabStripNavigation };