qrcode-status.d.ts 845 B

1234567891011121314151617181920212223242526272829303132333435
  1. import { SuperComponent } from '../../../common/src/index';
  2. export default class QRCode extends SuperComponent {
  3. options: {
  4. multipleSlots: boolean;
  5. };
  6. properties: {
  7. statusRender: {
  8. type: BooleanConstructor;
  9. value: boolean;
  10. };
  11. status: {
  12. type: StringConstructor;
  13. value: "loading" | "active" | "expired" | "scanned";
  14. };
  15. locale: {
  16. type: ObjectConstructor;
  17. value: {
  18. expiredText?: string;
  19. refreshText?: string;
  20. scannedText?: string;
  21. };
  22. };
  23. };
  24. data: {
  25. prefix: string;
  26. classPrefix: string;
  27. isSkyline: boolean;
  28. };
  29. lifetimes: {
  30. attached(): void;
  31. };
  32. methods: {
  33. handleRefresh(): void;
  34. };
  35. }