(onComplete)
| 108 | } |
| 109 | |
| 110 | function Example4(onComplete){ |
| 111 | // EXAMPLE 1 --------------------------------------------- |
| 112 | console.log('\nExample 4 - Start ZERO'); |
| 113 | // create new progress bar using default values |
| 114 | const b1 = new _progress.Bar(); |
| 115 | b1.start(0, 0); |
| 116 | |
| 117 | setTimeout(function(){ |
| 118 | b1.stop(); |
| 119 | |
| 120 | // run complete callback |
| 121 | onComplete.apply(this); |
| 122 | }, 1000); |
| 123 | } |
| 124 | |
| 125 | function Example5(onComplete){ |
| 126 | // EXAMPLE 5 --------------------------------------------- |
no test coverage detected
searching dependent graphs…