details.d.ts 936 B

12345678910111213141516171819202122232425262728293031
  1. import { LitElement } from 'lit';
  2. import { EventEmitter } from '../../internal/decorators';
  3. export default class SlDetails extends LitElement {
  4. static styles: import("lit").CSSResult;
  5. details: HTMLElement;
  6. header: HTMLElement;
  7. body: HTMLElement;
  8. private componentId;
  9. private hasInitialized;
  10. open: boolean;
  11. summary: string;
  12. disabled: boolean;
  13. slShow: EventEmitter<void>;
  14. slAfterShow: EventEmitter<void>;
  15. slHide: EventEmitter<void>;
  16. slAfterHide: EventEmitter<void>;
  17. connectedCallback(): void;
  18. firstUpdated(): void;
  19. disconnectedCallback(): void;
  20. show(): Promise<void>;
  21. hide(): Promise<void>;
  22. handleSummaryClick(): void;
  23. handleSummaryKeyDown(event: KeyboardEvent): void;
  24. handleOpenChange(): Promise<void>;
  25. render(): import("lit-html").TemplateResult<1>;
  26. }
  27. declare global {
  28. interface HTMLElementTagNameMap {
  29. 'sl-details': SlDetails;
  30. }
  31. }