resize-observer.d.ts 590 B

12345678910111213141516171819
  1. import { LitElement } from 'lit';
  2. import { EventEmitter } from '../../internal/decorators';
  3. export default class SlResizeObserver extends LitElement {
  4. static styles: import("lit").CSSResult;
  5. private resizeObserver;
  6. private observedElements;
  7. slResize: EventEmitter<{
  8. entries: ResizeObserverEntry[];
  9. }>;
  10. connectedCallback(): void;
  11. disconnectedCallback(): void;
  12. handleSlotChange(): void;
  13. render(): import("lit-html").TemplateResult<1>;
  14. }
  15. declare global {
  16. interface HTMLElementTagNameMap {
  17. 'sl-resize-observer': SlResizeObserver;
  18. }
  19. }