NG Bootstrap 3.0.0 发布,Bootstrap 的 Angular 集成

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

内容简介: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 集成》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

Think Python

Think Python

Allen B. Downey / O'Reilly Media / 2012-8-23 / GBP 29.99

Think Python is an introduction to Python programming for students with no programming experience. It starts with the most basic concepts of programming, and is carefully designed to define all terms ......一起来看看 《Think Python》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

随机密码生成器
随机密码生成器

多种字符组合密码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具