This commit is contained in:
sjk
2025-11-17 14:11:46 +08:00
commit ad4a600af9
1659 changed files with 171560 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
import { SuperComponent } from '../common/src/index';
export default class CountDown extends SuperComponent {
externalClasses: string[];
properties: import("./type").TdCountDownProps;
observers: {
time(): void;
};
data: {
prefix: string;
classPrefix: string;
timeDataUnit: {
DD: string;
HH: string;
mm: string;
ss: string;
SSS: string;
};
timeData: import("./utils").TimeData;
formattedTime: string;
};
timeoutId: null | number;
isInitialTime: boolean;
lifetimes: {
detached(): void;
};
methods: {
start(): void;
pause(): void;
reset(): void;
getTime(): number;
updateTime(remain: number): void;
doCount(): void;
};
}