image.d.ts 634 B

123456789101112131415161718192021222324252627
  1. import { SuperComponent } from '../common/src/index';
  2. export default class Image extends SuperComponent {
  3. externalClasses: string[];
  4. options: {
  5. multipleSlots: boolean;
  6. };
  7. properties: import("./type").TdImageProps;
  8. data: {
  9. prefix: string;
  10. isLoading: boolean;
  11. isFailed: boolean;
  12. widthStyle: string;
  13. classPrefix: string;
  14. };
  15. preSrc: string;
  16. lifetimes: {
  17. attached(this: Image): void;
  18. };
  19. observers: {
  20. src(): void;
  21. };
  22. methods: {
  23. onLoaded(e: any): void;
  24. onLoadError(e: any): void;
  25. update(): void;
  26. };
  27. }