File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,16 @@ CSS for button that loads. check https://loading.io/button/ for more information
44
55# usage
66
7- 1 . include ldbtn.css and loading.css :
7+ install with npm :
88
9- < link rel = " stylesheet " type = " text/css " href = " https://cdn.jsdelivr.net/gh/loadingio/[email protected] /dist/ldbtn.css " /> 9+ npm install --save ldbutton
1010
11+ include required css file ( you may also need loading.css for spinner related css ):
1112
12- 2 . add class for one of the desired effect to your button, along with a loader inside:
13+ <link rel="stylesheet" type="text/css" href="path-to-ldbutton-css-file"/>
14+
15+
16+ add class for one of the desired effect to your button, along with a loader inside:
1317
1418 <div class="btn btn-primary ld-ext-right">
1519 <div class="ld ld-ball ld-bounce"></div>
@@ -24,7 +28,7 @@ CSS for button that loads. check https://loading.io/button/ for more information
2428 <div class =" ld ld-ball ld-bounce " ></div >
2529 </div >
2630
27- You can also use [ ldLoader ] ( https://loading.io/lib/loader/ ) to manipulate loader's state.
31+ You can also use [ ldloader ] ( https://loading.io/lib/loader/ ) to manipulate loader's state.
2832
2933For more information about how to use loading buttons, please check the [ online documentation here] ( https://loading.io/button/ ) .
3034
You can’t perform that action at this time.
0 commit comments