Skip to content

Latest commit

 

History

History
77 lines (59 loc) · 2.18 KB

README.md

File metadata and controls

77 lines (59 loc) · 2.18 KB

ng2-bootstrap

Native Angular2 directives for Bootstrap

Works with Bootstrap 3 and 4-alfa

Goal: smooth transition from ui-bootstrap to angular2, all components will have same API

Code Climate Dependency Status devDependency Status

Usage & Demo

http://valor-software.github.io/ng2-bootstrap/

Starter package

You can start hacking by cloning starter repo: https://github.com/valor-software/angular2-bootstrap-starter

Install from npm

npm i ng2-bootstrap --save
# if you are developing with typescript it will link .d.ts from package definition
tsd link

Install from source

  npm i
  npm start

Components

  • Accordion

  • Alert

  • Buttons

  • Carousel

  • Collapse

  • [+-] Datepicker (Datepicker popup not implemented)

  • Dropdown

  • Modal

  • Pagination

  • Popover

  • Progressbar

  • Rating

  • Tabs

  • Timepicker

  • [+-] Tooltip

  • Typeahead (in progress...)

  • NgTransclude - to transclude templates

  • positional service

  • template url support

Contribution

Please read central ng2 modules readme for details, plans and approach and welcome :)

TODO

  • use lodash defaults and isDefined?
  • find a better way to detect is event handler is set (see alerts.ts)
  • support templateUrl for directives
  • support animation (in progress...)
  • demo page
  • docs
  • publish to bower, etc.
  • migration guide from Angular 1 to Angular 2
  • publish to npm