tabsheetpackage.src.vaadin-tabsheet-mixin.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-webcomponents Show documentation
Show all versions of vaadin-webcomponents Show documentation
Mvnpm composite: Vaadin webcomponents
The newest version!
/**
* @license
* Copyright (c) 2019 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import type { Constructor } from '@open-wc/dedupe-mixin';
import type { DelegateStateMixinClass } from '@vaadin/component-base/src/delegate-state-mixin.js';
/**
* A mixin providing common tab-sheet functionality.
*/
export declare function TabSheetMixin<
Tab extends HTMLElement,
T extends Constructor = Constructor,
>(base: T): Constructor & Constructor> & T;
export declare class TabSheetMixinClass {
/**
* The index of the selected tab.
*/
selected: number | null | undefined;
/**
* The list of ``s from which a selection can be made.
* It is populated from the elements passed inside the slotted
* ``, and updated dynamically when adding or removing items.
*
* Note: unlike ``, this property is read-only.
*/
readonly items: Tab[] | undefined;
}