app.component.html
<h2 style="padding-top:25px; padding-bottom:25px;">
Angular Material - How to hide Accordion panels toggle icon
</h2>
<mat-accordion hideToggle="true">
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title>ASP.NET</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>C#</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>SQL</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 - How to use Accordion
- angular material - How to use Expansion Panel
- angular material - Open Accordion multiple panels at once
- angular material - How to disable a panel in Accordion
- 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 - 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 - List items separator
- angular material - How to generate List items from array