app.component.html
<h2 style="padding-top:25px; padding-bottom:25px;">
Angular Material - Action bar inside an Expansion Panel
</h2>
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title>Android</mat-panel-title>
<mat-panel-description>
Description: I am Android.
</mat-panel-description>
</mat-expansion-panel-header>
Content: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Pellentesque nec bibendum ligula. Pellentesque imperdiet
non massa at sodales. Cras nibh elit, iaculis id semper in,
euismod eu ante. Morbi ac massa pellentesque, porta
velit sed, elementum ipsum. Duis sed risus sit amet tellus
euismod consequat sed a ante. Lorem ipsum dolor
sit amet, consectetur adipiscing elit.
<mat-action-row>
<button mat-button color="warn" (click)="null">
Cancel A Task
</button>
<button mat-button color="primary" (click)="null">
Do A Task
</button>
</mat-action-row>
</mat-expansion-panel>
app.module.ts [import]
import {MatExpansionModule} from '@angular/material/expansion'
- angular material - How to change Slide toggle checked color
- angular material - How to use Badge with text
- angular material - How to change Badge size
- angular material - How to change Badge position
- angular material - How to toggle Badge visibility
- angular material - How to use Accordion
- angular material - How to use Expansion Panel
- angular material - Expansion Panel opened & closed event
- angular material - Icon inside Expansion Panel header
- angular material - Show Accordion toggle icon on left
- angular material - Open & close Accordion all panels at once
- angular material - Navigation list with button and icon
- angular material - How to use Action List
- angular material - Action list with button and icon
- angular material - How to use Selection List