File tree Expand file tree Collapse file tree 4 files changed +13
-827
lines changed Expand file tree Collapse file tree 4 files changed +13
-827
lines changed Original file line number Diff line number Diff line change @@ -13,27 +13,27 @@ other_frameworks: loading-button
13
13
## Basic example
14
14
15
15
{{< example >}}
16
- <button type =" button " class =" btn btn-primary btn-loading " data-coreui-timeout =" 2000 " >Submit</button >
17
- <button type =" button " class =" btn btn-outline-primary btn-loading " >Submit</button >
18
- <button type =" button " class =" btn btn-ghost-primary btn-loading " >Submit</button >
16
+ <button type =" button " class =" btn btn-primary btn-loading " data-coreui-timeout =" 2000 " data-coreui-toggle = " loading-button " >Submit</button >
17
+ <button type =" button " class =" btn btn-outline-primary btn-loading " data-coreui-toggle = " loading-button " >Submit</button >
18
+ <button type =" button " class =" btn btn-ghost-primary btn-loading " data-coreui-toggle = " loading-button " >Submit</button >
19
19
{{< /example >}}
20
20
21
21
## Spinners
22
22
23
23
### Border
24
24
25
25
{{< example >}}
26
- <button type =" button " class =" btn btn-info btn-loading " >Submit</button >
27
- <button type =" button " class =" btn btn-outline-success btn-loading " >Submit</button >
28
- <button type =" button " class =" btn btn-ghost-warning btn-loading " >Submit</button >
26
+ <button type =" button " class =" btn btn-info btn-loading " data-coreui-toggle = " loading-button " >Submit</button >
27
+ <button type =" button " class =" btn btn-outline-success btn-loading " data-coreui-toggle = " loading-button " >Submit</button >
28
+ <button type =" button " class =" btn btn-ghost-warning btn-loading " data-coreui-toggle = " loading-button " >Submit</button >
29
29
{{< /example >}}
30
30
31
31
### Grow
32
32
33
33
{{< example >}}
34
- <button type =" button " class =" btn btn-info btn-loading " data-coreui-spinner-type =" grow " >Submit</button >
35
- <button type =" button " class =" btn btn-outline-success btn-loading " data-coreui-spinner-type =" grow " >Submit</button >
36
- <button type =" button " class =" btn btn-ghost-warning btn-loading " data-coreui-spinner-type =" grow " >Submit</button >
34
+ <button type =" button " class =" btn btn-info btn-loading " data-coreui-spinner-type =" grow " data-coreui-toggle = " loading-button " >Submit</button >
35
+ <button type =" button " class =" btn btn-outline-success btn-loading " data-coreui-spinner-type =" grow " data-coreui-toggle = " loading-button " >Submit</button >
36
+ <button type =" button " class =" btn btn-ghost-warning btn-loading " data-coreui-spinner-type =" grow " data-coreui-toggle = " loading-button " >Submit</button >
37
37
{{< /example >}}
38
38
39
39
You can’t perform that action at this time.
0 commit comments