Skip to content

Commit 0b172e9

Browse files
committed
progressbar example
1 parent 29c93b0 commit 0b172e9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,18 @@ <h3><timer id="timer1"/></h3>
105105
</div>
106106
</section>
107107

108+
<section id="progress-bar-example">
109+
<h3>Progressbar Example</h3>
110+
<div class="bs-docs-example">
111+
<p>This simple directive <code>&lt;timer /&gt;</code> will start the timer with the default option of ticking every 1 millisecond</p>
112+
<h3><timer id="timer3"><div class="progress progress-striped active">
113+
<div class="bar" style="width: {{seconds}}%;"></div>
114+
</div></timer></h3>
115+
<button type="button" class="btn" onclick="startTimer('timer1', this)">Start</button>
116+
<button type="button" class="btn" onclick="stopTimer('timer1', this)">Stop</button>
117+
</div>
118+
</section>
119+
108120
<section id="timer-with-interval">
109121
<h3>Timer with interval example</h3>
110122
<div class="bs-docs-example">

0 commit comments

Comments
 (0)