DEV Community

anhdung11cdt2
anhdung11cdt2

Posted on

Answer: How to select NgbTabset tab as active on load?

I figured out how to get this to work, but I am undecided as to whether it is a kludgy workaround or an elegant solution.

I ended up going against the advice at https://ng-bootstrap.github.io/#/components/tabs/api, which said "Use the "select" method to switch a tab programmatically". I did use activeId…

Top comments (0)