NG Bootstrap 3.0.0 发布,Bootstrap 的 Angular 集成

栏目: 软件资讯 · 发布时间: 6年前

内容简介:NG Bootstrap 3.0.0 已发布,NG Bootstrap 是基于 Angular 开发的 Bootstrap CSS 框架的指令集,它是专为 Bootstrap 4 开发的 Angular 组件,由 ui-bootstrap 团队构建。 重要更改: 1、ng-bootstrap 3.0.0 最低要...

NG Bootstrap 3.0.0 已发布,NG Bootstrap 是基于 Angular 开发的 Bootstrap CSS 框架的指令集,它是专为 Bootstrap 4 开发的 Angular 组件,由 ui-bootstrap 团队构建。

重要更改:

1、ng-bootstrap 3.0.0 最低要求 Angular 6.1.0 版本

2、该库现在通过 Angular Package Format (APF) v6.0 提供,@angular/cli 6

3、alert:简化 <ngb-alert> 生成的标记,不再有更多的中间 <div> 元素

Before:

<ngb-alert>
  <div role="alert" class="alert alert-warning">
    Hello there
  </div>
</ngb-alert>

After:

<ngb-alert role="alert" class="alert alert-warning">
  Hello there
</ngb-alert>

其他更改包括:

Bug Fixes

  • accordion: correct "collapsed" CSS class usage (25b5bee), closes #2553 #2555

  • accordion: the markup should follow the boostrap one (8ddc363), closes #2511

  • carousel: make it work inside the 'OnPush' components (827dfcb), closes #2597 #2599

  • datepicker: correctly override year numerals for multiple months (#2596) (bc540e9)

  • demo: missing / in bootstrap href link (42b1470), closes #2584 #2586

  • dropdown: close dropdown correctly inside the OnPush component (a2dea82), closes #2561 #2559

  • dropdown: remove global document click listener (d80204c), closes #900 #2518

  • modal: adjust modal background to avoid shifting (2871316), closes #641 #2508

  • modal: use correct ComponentFactoryResolver (8d72f37), closes #2588

  • typeahead: don't fail when user returns falsy results (de613ae), closes #2530 #2550

Chores

  • bump minimal required version of Angular to 6.1 (335598c), closes #2548

Code Refactoring

Features

  • datepicker: allow overriding day, week number and year numerals (91c04e9), closes #2593

  • datepicker: close popup on outside click (347f0ff), closes #2558

  • datepicker: initial version of Jalali calendar (e465fa6)

  • datepicker: make 'NgbDate' part of a public API (122f93f), closes #2540

  • popover: autoclose (6e2340d), closes #933 #2554

  • tabset: allow arbitrary nav type (#2592) (1e68401), closes #1661

  • tooltip: autoclose (fa765a8), closes #2571

更多细节可查阅 CHANGELOG 。

源码下载:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《NG Bootstrap 3.0.0 发布,Bootstrap 的 Angular 集成》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

C++ Primer 中文版(第 4 版)

C++ Primer 中文版(第 4 版)

Stanley B.Lippman、Josée LaJoie、Barbara E.Moo / 李师贤、蒋爱军、梅晓勇、林瑛 / 人民邮电出版社 / 2006 / 99.00元

本书是久负盛名的C++经典教程,其内容是C++大师Stanley B. Lippman丰富的实践经验和C++标准委员会原负责人Josée Lajoie对C++标准深入理解的完美结合,已经帮助全球无数程序员学会了C++。本版对前一版进行了彻底的修订,内容经过了重新组织,更加入了C++ 先驱Barbara E. Moo在C++教学方面的真知灼见。既显著改善了可读性,又充分体现了C++语言的最新进展和当......一起来看看 《C++ Primer 中文版(第 4 版)》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码