I am using v3 and using tabs, but how can I trigger tab show event?
In the docs it says like this “tab:show” and I try this but does not work
$$('#latest').on('tab:show', function() {
app.alert('latest is visible');
});
I am using v3 and using tabs, but how can I trigger tab show event?
In the docs it says like this “tab:show” and I try this but does not work
$$('#latest').on('tab:show', function() {
app.alert('latest is visible');
});
Try
$$(document).on('tab:show', '#latest', function() {
app.alert('latest is visible');
});
This worked for me