Hide tab and its link dynamically (anmiated)

Hey
how can i re-initiate the tab bar after i removed a link or add a new link dynamically?
right now it seams that if i hide a tab link with css the calculation is off for the animated tabs.

Thanks!

You need to call this methods https://framework7.io/docs/toolbar-tabbar.html#toolbar-app-methods after you modify it manually

app.toolbar.setHighlight('.my-tabbar')
1 Like

that didnt fix the issue
look at the pictures maybe you will understand better
before i hide the link
localhost_8000_index.html (1)
after i hide it and call the method
localhost_8000_index.html

Ok I see, hiding with CSS won’t work here, they needed to be removed/added instead for hide/show

1 Like