Skip to content
This repository was archived by the owner on May 4, 2024. It is now read-only.

Commit f63c35e

Browse files
Offirmoclaudiahdz
authored andcommittedJan 31, 2020
docs: update README.md example (#110)
1 parent baa4192 commit f63c35e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed
 

‎README.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ var Gauge = require("gauge")
88

99
var gauge = new Gauge()
1010

11-
gauge.show("test", 0.20)
12-
13-
gauge.pulse("this")
14-
15-
gauge.hide()
11+
gauge.show("working…", 0)
12+
setTimeout(() => { gauge.pulse(); gauge.show("working…", 0.25) }, 500)
13+
setTimeout(() => { gauge.pulse(); gauge.show("working…", 0.50) }, 1000)
14+
setTimeout(() => { gauge.pulse(); gauge.show("working…", 0.75) }, 1500)
15+
setTimeout(() => { gauge.pulse(); gauge.show("working…", 0.99) }, 2000)
16+
setTimeout(() => gauge.hide(), 2300)
1617
```
1718

19+
See also the [demos](demo.js):
20+
1821
![](gauge-demo.gif)
1922

2023

0 commit comments

Comments
 (0)
This repository has been archived.