You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,7 @@ handy library to manipulate loader's state. for more information, please check [
7
7
8
8
create an object for each loader you want to use:
9
9
10
-
````
11
10
var ldld = new ldloader(config);
12
-
````
13
11
14
12
15
13
config includes following options:
@@ -60,7 +58,7 @@ Methods:
60
58
61
59
## Styling and Structure
62
60
63
-
There is no constraint about how ldloader's DOM structure should be. Basically it contains an element for loader, and the element's parent in which the loader is shown. You control all the animation and effects based on ```active-class``` toggled by ldloader.
61
+
There is no constraint about how ldloader's DOM structure should be. Basically it contains an element for loader, and the element's parent in which the loader is shown. You control all the animation and effects based on `active-class` toggled by ldloader.
64
62
65
63
For convenience, ldloader is shipped with some builtin css for simple usage:
66
64
@@ -76,9 +74,8 @@ For convenience, ldloader is shipped with some builtin css for simple usage:
76
74
* .ldld.light - rgba(255,255,255,.5)
77
75
* .ldld.dark - rgba(0,0,0,.5)
78
76
79
-
You can also use ldloader along with ```loading-btn``` and ```loading.css```:
77
+
You can also use ldloader along with `loading-btn` and `loading.css`:
80
78
81
-
```
82
79
<div class="btn ld-ext-right">
83
80
Load
84
81
<div class="ld ld-ball ld-bounce"></div>
@@ -87,7 +84,6 @@ You can also use ldloader along with ```loading-btn``` and ```loading.css```:
0 commit comments