You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| expiryTimestamp | number(timestamp) | YES | this will define for how long the timer will be running |
76
-
| autoStart | boolean | No | flag to decide if timer should start automatically |
76
+
| autoStart | boolean | No | flag to decide if timer should start automatically, by default it is set to `true`|
77
77
| onExpire | Function | No | callback function to be executed once countdown timer is expired |
78
78
79
79
@@ -143,7 +143,7 @@ export default function App() {
143
143
144
144
| key | Type | Required | Description |
145
145
| --- | --- | --- | ---- |
146
-
| autoStart | boolean | No | if set to `true` stopwatch will auto start |
146
+
| autoStart | boolean | No | if set to `true` stopwatch will auto start, by default it is set to `false`|
147
147
| offsetTimestamp | number | No | this will define the initial stopwatch offset example: `const stopwatchOffset = new Date(); stopwatchOffset.setSeconds(stopwatchOffset.getSeconds() + 300);` this will result in a 5 minutes offset and stopwatch will start from 0:0:5:0 instead of 0:0:0:0 |
0 commit comments