valor-software / ngx-bootstrap

Fast and reliable Bootstrap widgets in Angular (supports Ivy engine)
https://valor-software.com/ngx-bootstrap
MIT License
5.53k stars 1.69k forks source link

Dynamic tab creation using typescript #2013

Closed giridharkl closed 7 years ago

giridharkl commented 7 years ago

Hi, I am new to Angular 2. I have started using ngx-bootstrap in my sample project. I could create the static tabs easily. I am searching for an example for adding new tabs dynamically to the existing tabset. If you could post an example that would be of great help. Thanks Giridhar

valorkin commented 7 years ago

hey, it there for a while http://valor-software.com/ngx-bootstrap/#/tabs#dynamic

in your case maybe you need ngFor on initially empty array or initially hidden tabs