image-comparer.d.ts 576 B

123456789101112131415161718
  1. import { LitElement } from 'lit';
  2. import { EventEmitter } from '../../internal/decorators';
  3. export default class SlImageComparer extends LitElement {
  4. static styles: import("lit").CSSResult;
  5. base: HTMLElement;
  6. handle: HTMLElement;
  7. position: number;
  8. slChange: EventEmitter<void>;
  9. handleDrag(event: any): void;
  10. handleKeyDown(event: KeyboardEvent): void;
  11. handlePositionChange(): void;
  12. render(): import("lit-html").TemplateResult<1>;
  13. }
  14. declare global {
  15. interface HTMLElementTagNameMap {
  16. 'sl-image-comparer': SlImageComparer;
  17. }
  18. }