|
| 1 | +<section class="demo-expansion"> |
| 2 | + <h2>Siberian Husky</h2> |
| 3 | + <p>Single expansion panel</p> |
| 4 | + <mat-expansion-panel class="mat-expansion-demo-width" #myPanel> |
| 5 | + <mat-expansion-panel-header> |
| 6 | + <mat-panel-description> |
| 7 | + Dog breed |
| 8 | + </mat-panel-description> |
| 9 | + <mat-panel-title>Siberian Husky</mat-panel-title> |
| 10 | + </mat-expansion-panel-header> |
| 11 | + The Siberian Husky is a medium size working dog breed that originated |
| 12 | + in north-eastern Siberia, Russia. The breed belongs to the Spitz genetic family. |
| 13 | + <mat-action-row> |
| 14 | + <button mat-button (click)="myPanel.expanded = false">Cancel</button> |
| 15 | + <a mat-button href="https://en.wikipedia.org/wiki/Siberian_Husky" target="_blank">Wikipedia</a> |
| 16 | + </mat-action-row> |
| 17 | + </mat-expansion-panel> |
| 18 | +</section> |
| 19 | + |
| 20 | +<section class="demo-expansion"> |
| 21 | + <h2>Dog breeds</h2> |
| 22 | + <p>Multiple expansion panel</p> |
| 23 | + <mat-accordion class="mat-expansion-demo-width"> |
| 24 | + <mat-expansion-panel #panel1 > |
| 25 | + <mat-expansion-panel-header>Golden Retriever</mat-expansion-panel-header> |
| 26 | + <p> |
| 27 | + The Golden Retriever is a large-sized breed of dog bred as gun dogs to retrieve shot |
| 28 | + waterfowl such as ducks and upland game birds during hunting and shooting parties, and |
| 29 | + were named 'retriever' because of their ability to retrieve shot game undamaged. |
| 30 | + Golden Retrievers have an instinctive love of water, and are easy to train to basic |
| 31 | + or advanced obedience standards. |
| 32 | + </p> |
| 33 | + </mat-expansion-panel> |
| 34 | + <mat-expansion-panel #panel2 [disabled]="true"> |
| 35 | + <mat-expansion-panel-header>Beagle</mat-expansion-panel-header> |
| 36 | + <p> |
| 37 | + The Beagle is a breed of small hound, similar in appearance to the much larger foxhound. |
| 38 | + The beagle is a scent hound, developed primarily for hunting hare. |
| 39 | + </p> |
| 40 | + </mat-expansion-panel> |
| 41 | + <mat-expansion-panel #panel3 > |
| 42 | + <mat-expansion-panel-header>Dachshund</mat-expansion-panel-header> |
| 43 | + <p> |
| 44 | + The dachshund is a short-legged, long-bodied, hound-type dog breed. The standard size |
| 45 | + dachshund was developed to scent, chase, and flush out badgers and other burrow-dwelling |
| 46 | + animals, while the miniature ... |
| 47 | + </p> |
| 48 | + <mat-action-row> |
| 49 | + <button mat-button (click)="panel3.expanded = false">Close</button> |
| 50 | + </mat-action-row> |
| 51 | + </mat-expansion-panel> |
| 52 | + </mat-accordion> |
| 53 | +</section> |
0 commit comments