我在angular2项目中工作,想知道有什么方法可以在angular2中使用uib-tabset吗?
我之前使用过angularjs,我可以使用ng-bootstrap.
所以我可以使用< uib-tabset>< / uib-tabset>容易.
但我不确定如何在angular2中这样做?
任何输入?
解决方法
Angular 2的angular-ui / bootstrap的等价物名为ng-bootstrap,你可以在
https://github.com/ng-bootstrap/ng-bootstrap中看到它的源代码.
选项卡组件是https://github.com/ng-bootstrap/ng-bootstrap的一部分,并重命名为ngb-tabset.你可以在这里看到它:https://ng-bootstrap.github.io/#/components/tabs