count-down.d.ts 617 B

123456789101112131415161718192021222324
  1. import { SuperComponent } from '../common/src/index';
  2. export default class CountDown extends SuperComponent {
  3. externalClasses: string[];
  4. properties: import("./type").TdCountDownProps;
  5. observers: {
  6. time(): void;
  7. };
  8. data: {
  9. classPrefix: string;
  10. timeData: import("./utils").TimeData;
  11. formattedTime: string;
  12. };
  13. tid: null | number;
  14. detached(): void;
  15. destroyed(): void;
  16. start(): void;
  17. pause(): void;
  18. reset(): void;
  19. tick(): void;
  20. microTick(): void;
  21. macroTick(): void;
  22. getRemain(): number;
  23. setRemain(remain: number): void;
  24. }