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
http://valor-software.github.io/ng2-bootstrap/
You can start hacking by cloning starter repo: https://github.com/valor-software/angular2-bootstrap-starter
npm i ng2-bootstrap --save
# if you are developing with typescript it will link .d.ts from package definition
tsd link
npm i
npm start
-
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
Please read central ng2
modules readme for details, plans and approach and welcome :)
- 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