tab.d.ts 581 B

123456789101112131415161718192021
  1. import { LitElement } from 'lit';
  2. import { EventEmitter } from '../../internal/decorators';
  3. export default class SlTab extends LitElement {
  4. static styles: import("lit").CSSResult;
  5. tab: HTMLElement;
  6. private componentId;
  7. panel: string;
  8. active: boolean;
  9. closable: boolean;
  10. disabled: boolean;
  11. slClose: EventEmitter<void>;
  12. focus(options?: FocusOptions): void;
  13. blur(): void;
  14. handleCloseClick(): void;
  15. render(): import("lit-html").TemplateResult<1>;
  16. }
  17. declare global {
  18. interface HTMLElementTagNameMap {
  19. 'sl-tab': SlTab;
  20. }
  21. }