Methods
onStop
- onStop(callback: () => void): void
onTime
- onTime(callback: (time: string | EndTimeKeys) => void): void
start
- start(time: string | number, formatStr: string, isEndTime: boolean, interval: number): void
Parameters
time: string | number
formatStr: string
isEndTime: boolean
interval: number
Returns void
倒计时类