toast.d.ts 680 B

1234567891011121314151617181920212223242526
  1. /// <reference types="node" />
  2. import { SuperComponent } from '../common/src/index';
  3. import { ToastOptionsType } from './index';
  4. declare type Timer = NodeJS.Timeout | null;
  5. export default class Toast extends SuperComponent {
  6. externalClasses: string[];
  7. options: {
  8. multipleSlots: boolean;
  9. };
  10. behaviors: string[];
  11. hideTimer: Timer;
  12. data: {
  13. prefix: string;
  14. classPrefix: string;
  15. typeMapIcon: string;
  16. };
  17. properties: import("./type").TdToastProps;
  18. detached(): void;
  19. methods: {
  20. show(options: ToastOptionsType): void;
  21. hide(): void;
  22. destroyed(): void;
  23. loop(): void;
  24. };
  25. }
  26. export {};