qr-code.d.ts 513 B

1234567891011121314151617181920
  1. import { LitElement } from 'lit';
  2. export default class SlQrCode extends LitElement {
  3. static styles: import("lit").CSSResult;
  4. canvas: HTMLElement;
  5. value: string;
  6. label: string;
  7. size: number;
  8. fill: string;
  9. background: string;
  10. radius: number;
  11. errorCorrection: 'L' | 'M' | 'Q' | 'H';
  12. firstUpdated(): void;
  13. generate(): void;
  14. render(): import("lit-html").TemplateResult<1>;
  15. }
  16. declare global {
  17. interface HTMLElementTagNameMap {
  18. 'sl-qr-code': SlQrCode;
  19. }
  20. }