i want to conditionally prevent user from navigating to other tab in mat-tab-group. I found one monkey patching here How to conditionally prevent user from navigating to other tab in mat-tab-group. 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.
Here is the example https://stackblitz.com/edit/angular-mat-tab-focuschange-tphyvw