Skip to content

Commit 2c22cdd

Browse files
committed
readme update
1 parent 0a7f180 commit 2c22cdd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ export default function App() {
142142
| key | Type | Required | Description |
143143
| --- | --- | --- | ---- |
144144
| autoStart | boolean | No | if set to `true` stopwatch will auto start |
145-
| offsetTimestamp | number | No | this will define the initial stopwatch offset example: `const stopwatchOffset = new Date(); stopwatchOffset.setSeconds(stopwatchOffset.getSeconds() + 300);` this is 5 minutes offset it will cause stopwatch start from 5 minutes and then start counting up |
145+
| offsetTimestamp | number | No | this will define the initial stopwatch offset example:
146+
`const stopwatchOffset = new Date(); stopwatchOffset.setSeconds(stopwatchOffset.getSeconds() + 300);`
147+
this will result in a 5 minutes offset and stopwatch will start from 0:0:5:0 instead of 0:0:0:0 |
146148

147149
### Values
148150

0 commit comments

Comments
 (0)