title: Get accordion open closed status in mat table with accordion - Angular7
body: <p>I'm using mat-table with accordion, all I want is, whether the mat-row is expanded/closed in mat table</p>
  
  <p><a href="https://stackblitz.com/edit/angular-yr45pl" rel="nofollow noreferrer">Stackblitz-Mat-table with expandable rows</a></p>
  
  <p>I want in such a way like <code>(opened)="panelOpened($event)" (closed)="panelClosed($event)"</code> in mat expansion panel. 
  How the above can be achieved in mat table? If not, is there any other way to do?</p>
  
  <p>Thanks in advance</p>