Is there onClick event in angular material tab?


Is there onClick event in angular material tab?



Is there a way to do something like onclick but in a tab?
I have the website running a heroku(https://nextlevel-server.herokuapp.com/), I want do something of code when the user click in "Paladins" or "Smite" or "league of legends"
I read the doc and the API but with the only method that I saw is onInit inside the tab and doesn't work.


onclick


onInit




1 Answer
1



Use selectedIndexChange() or selectedTabChange() are probably what you are looking for.


selectedIndexChange()


selectedTabChange()






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Render GeoTiff to on browser with leaflet

How to get chrome logged in user's email id through website

using states in a react-navigation without redux