NG Bootstrap 3.0.0 发布,Bootstrap 的 Angular 集成

栏目: CSS · CSS3 · 发布时间: 5年前

内容简介:NG Bootstrap 3.0.0 已发布,NG Bootstrap 是基于 Angular 开发的 Bootstrap CSS 框架的指令集,它是专为 Bootstrap 4 开发的 Angular 组件,由1、ng-bootstrap 3.0.0 最低要求 Angular 6.1.0 版本2、该库现在通过 Angular Package Format (APF) v6.0 提供,@angular/cli 6

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

源码下载:


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

Effective Objective-C 2.0

Effective Objective-C 2.0

Matt Galloway / 爱飞翔 / 机械工业出版社 / 2014-1 / 69.00元

《effective objective-c 2.0:编写高质量ios与os x代码的52个有效方法》是世界级c++开发大师scott meyers亲自担当顾问编辑的“effective software development series”系列丛书中的新作,amazon全五星评价。从语法、接口与api设计、内存管理、框架等7大方面总结和探讨了objective-c编程中52个鲜为人知和容易被忽......一起来看看 《Effective Objective-C 2.0》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

html转js在线工具
html转js在线工具

html转js在线工具