Skip to content

Commit 5a7adb6

Browse files
authored
Update index.html to reflect readme
Updates the API section documentation from color and height, to setColor and setHeight
1 parent b6cc6a5 commit 5a7adb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,10 @@ <h2>
277277
<pre>ngProgress.start();</pre>
278278
<p>Starts the animation and adds between 0 - 5 percent to the loading percentage every 400 milliseconds. Should always be finished with progressbar.complete() to hide it.</p>
279279

280-
<pre>ngProgress.height();</pre>
280+
<pre>ngProgress.setHeight('10px');</pre>
281281
<p>Sets the height of the progressbar. Use any valid CSS value Eg '10px', '1em' or '1%'.</p>
282282

283-
<pre>ngProgress.color();</pre>
283+
<pre>ngProgress.setColor('#fff');</pre>
284284
<p>Sets the color of the progressbar and it's shadow. Use any valid HTML color</p>
285285

286286
<pre>ngProgress.status();</pre>

0 commit comments

Comments
 (0)