File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
demo/src/app/components/+accordion/demos/custom-html Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
< accordion >
2
2
< accordion-group >
3
- < button class ="btn btn-link btn-block clearfix " accordion-heading >
4
- < div class =" pull-left float-left " > I can have markup!</ div >
3
+ < div accordion-heading class ="clearfix ">
4
+ I can have markup!
5
5
< span class ="badge badge-secondary float-right pull-right "> Some HTML here</ span >
6
- </ button >
6
+ </ div >
7
7
This is just some content to illustrate fancy headings.
8
8
</ accordion-group >
9
9
< accordion-group >
10
- < button class =" btn btn-link " accordion-heading >
10
+ < div accordion-heading >
11
11
I can have markup, too!
12
- </ button >
12
+ </ div >
13
13
< span class ="badge badge-secondary center "> And some HTML here</ span >
14
14
</ accordion-group >
15
15
</ accordion >
Original file line number Diff line number Diff line change 4
4
< div class ="panel-title ">
5
5
< div role ="button " class ="accordion-toggle "
6
6
[attr.aria-expanded] ="isOpen ">
7
- < button class =" btn btn-link " *ngIf ="heading " [ngClass] ="{'text-muted': isDisabled} ">
7
+ < div *ngIf ="heading " [ngClass] ="{'text-muted': isDisabled} ">
8
8
{{ heading }}
9
- </ button >
9
+ </ div >
10
10
< ng-content select ="[accordion-heading] "> </ ng-content >
11
11
</ div >
12
12
</ div >
You can’t perform that action at this time.
0 commit comments