【发布时间】:2017-10-22 23:51:45
【问题描述】:
我正在使用带有打字稿的 Angular2。使用 npm 解决依赖关系。
我想在我的应用程序中使用模态对话框。为此,我需要在我的应用程序中包含 angular-ui-bootstrap。我需要在我的应用程序中使用 angular-ui-bootstrap 模态对话框。
【问题讨论】:
-
angular-ui-bootstrap 适用于 AngularJS 1.x。但是您可以将 ng-bootstrap 用于 Angular 4.x(相同的想法,来自同一团队):ng-bootstrap.github.io/#/home。 Google 是您的朋友。
-
你能帮我用 ng-bootstrap (NgbModal) 显示一个对话框
-
我链接的页面有几个演示。只看代码。您也可以在 plunkre 中打开演示以自己玩。
标签: angular angular-ui-bootstrap angular2-forms angular-ui-bootstrap-tab