[V2] Routable Tab events


#1

Hi!

I wasn’t able to find anything about this in the docs: Are there any events for routable tabs, like for example if the tab is changed?

Thanks in advance!
Frooplet


#2

There is a tab:show event that can be used to detect tab changed. If you use component or componentUrl for each tab then you can try to use mounted component hook:

return {
  mounted() {
    // tab component loaded and mounted to DOM
  }
}