toast.d.ts 658 B

12345678910111213141516171819202122232425
  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. };
  24. }
  25. export {};