John Peters Posted on Nov 19, 2019 • Edited on Jan 23, 2021 Material Expander : Open from code #angular Angular Tips (8 Part Series) 1 Typescript to JavaScript post compile 2 The Angular Event Service ... 4 more parts... 3 Material Expander : Open from code 4 Angular State Management Options 5 Angular Events vs. Observables 6 Angular CSS using Directives only 7 Angular Documentation (Fast) 8 Setting a Native Select Element's Default Option Using ngModel and 2 Way Binding <mat-expansion-panel [expanded]="expanded"> Then in your Typescript code create a variable named expanded. Set it to true when you want the panel to open Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)