All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tabsheetpackage.src.vaadin-tabsheet-mixin.d.ts Maven / Gradle / Ivy

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy