如何使用ng-bootstrap在angular2中使用uibb -tabset ?

时间:2022-01-23 11:40:30

I am working in angular2 project and would like to know is there any mean by which i can use uib-tabset in angular2?

我在angular2项目中工作,想知道在angular2中使用uib-tabset有什么方法吗?

I previously used angularjs with which I could use ng-bootstrap.

我以前使用过angularjs,我可以使用ng-bootstrap。

so I could use <uib-tabset></uib-tabset> easily.

所以我可以很容易地使用

But I am not sure about how to do this in angular2? any inputs?

但我不确定如何在angular2做这个?输入吗?

1 个解决方案

#1


6  

The equivalent of the angular-ui/bootstrap for Angular 2 is named ng-bootstrap and you can see its source code in https://github.com/ng-bootstrap/ng-bootstrap.

角2的等价物Angular -ui/bootstrap被命名为ng-bootstrap,您可以在https://github.com/ng-bootstrap/ng-bootstrap中看到它的源代码。

The tab component is part of https://github.com/ng-bootstrap/ng-bootstrap and was renamed to ngb-tabset. You can see it in action here: https://ng-bootstrap.github.io/#/components/tabs

选项卡组件是https://github.com/ng-bootstrap/ng-bootstrap的一部分,并被重命名为ngb-tabset。您可以在这里看到它的作用:https://ng-bootstrap.github.io/#/组件/选项卡

#1


6  

The equivalent of the angular-ui/bootstrap for Angular 2 is named ng-bootstrap and you can see its source code in https://github.com/ng-bootstrap/ng-bootstrap.

角2的等价物Angular -ui/bootstrap被命名为ng-bootstrap,您可以在https://github.com/ng-bootstrap/ng-bootstrap中看到它的源代码。

The tab component is part of https://github.com/ng-bootstrap/ng-bootstrap and was renamed to ngb-tabset. You can see it in action here: https://ng-bootstrap.github.io/#/components/tabs

选项卡组件是https://github.com/ng-bootstrap/ng-bootstrap的一部分,并被重命名为ngb-tabset。您可以在这里看到它的作用:https://ng-bootstrap.github.io/#/组件/选项卡