app.component.html
<h2 style="padding-top:25px; padding-bottom:25px;">
Angular Material - How to use Accordion flat display mode
</h2>
<mat-accordion displayMode="flat">
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title>Express</mat-panel-title>
</mat-expansion-panel-header>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Integer vitae semper massa. Donec maximus, dui nec
dignissim blandit, ante odio varius ex,
nec volutpat erat justo ac magna.
</mat-expansion-panel>
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title>jQuery</mat-panel-title>
</mat-expansion-panel-header>
Vivamus ornare ipsum sit amet imperdiet laoreet.
Cras maximus elementum varius. Integer nisi tellus,
dapibus vitae neque non, tempor vehicula velit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</mat-expansion-panel>
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title>ASP.NET Core</mat-panel-title>
</mat-expansion-panel-header>
Sed vitae felis id velit luctus elementum ut quis nisl. Curabitur
consectetur, ipsum eget vulputate mattis, odio dolor hendrerit
massa, eget scelerisque justo tellus eu lectus.
</mat-expansion-panel>
</mat-accordion>
app.module.ts [import]
import {MatExpansionModule} from '@angular/material/expansion'



- angular material - Action bar inside an Expansion Panel
- angular material - Open & close Expansion Panel on button click
- angular material - Determine an Expansion Panel is opened or closed
- angular material - Determine an Expansion Panel is disabled or enabled
- angular material - How to toggle Expansion Panel expanded state
- angular material - Initially expand a panel in Accordion
- angular material - Expansion Panel expandedChange event
- angular material - How to change Expansion Panel header height
- angular material - How to use List
- angular material - List items separator
- angular material - How to generate List items from array
- 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