title: Using mat-tab-group focusChange event, How to stop user navigating to other tab
body: <p>i want to conditionally prevent user from navigating to other tab in mat-tab-group. I found one monkey patching here <a href="https://stackoverflow.com/questions/51354135/how-to-conditionally-prevent-user-from-navigating-to-other-tab-in-mat-tab-group">How to conditionally prevent user from navigating to other tab in mat-tab-group</a>. But i want to implement this using mat-tab-group API. Can I implement this using focusChange event or event.preventDefault or any other way. </p>
  
  <p>Here is the example <a href="https://stackblitz.com/edit/angular-mat-tab-focuschange-tphyvw" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-mat-tab-focuschange-tphyvw</a></p>