How can i hook on wether a tabbed View is visible or not?
You need to handle Tab events.
Tabbed views are tabs so the have same Tabs events:
$('#view-catalog').on('tab:show', function () {
// this view became visible
});
So its not possible to use Router Component’s DOM Events Handling ?
No because View is not inside of the view. But you can just attach event in usual way in component with snippet i posted above
The problem with
$(’#view-catalog’).on(‘tab:show’, function () {
// this view became visible
});
how can i access the app instance or the page instance? should i use the global app parameter?