count-down.d.ts 630 B

12345678910111213141516171819202122232425
  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. timeoutId: null | number;
  14. lifetimes: {
  15. detached(): void;
  16. };
  17. methods: {
  18. start(): void;
  19. pause(): void;
  20. reset(): void;
  21. getTime(): number;
  22. updateTime(remain: number): void;
  23. doCount(): void;
  24. };
  25. }