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 11< accordion >
22 < 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!
55 < span class ="badge badge-secondary float-right pull-right "> Some HTML here</ span >
6- </ button >
6+ </ div >
77 This is just some content to illustrate fancy headings.
88 </ accordion-group >
99 < accordion-group >
10- < button class =" btn btn-link " accordion-heading >
10+ < div accordion-heading >
1111 I can have markup, too!
12- </ button >
12+ </ div >
1313 < span class ="badge badge-secondary center "> And some HTML here</ span >
1414 </ accordion-group >
1515</ accordion >
Original file line number Diff line number Diff line change 44 < div class ="panel-title ">
55 < div role ="button " class ="accordion-toggle "
66 [attr.aria-expanded] ="isOpen ">
7- < button class =" btn btn-link " *ngIf ="heading " [ngClass] ="{'text-muted': isDisabled} ">
7+ < div *ngIf ="heading " [ngClass] ="{'text-muted': isDisabled} ">
88 {{ heading }}
9- </ button >
9+ </ div >
1010 < ng-content select ="[accordion-heading] "> </ ng-content >
1111 </ div >
1212 </ div >
You can’t perform that action at this time.
0 commit comments