Package Exports
- ng2-bootstrap
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ng2-bootstrap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
angular2-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
Demo
http://valor-software.github.io/angular2-bootstrap/
Starter package
You can start hacking by cloning starter repo: https://github.com/valor-software/angular2-bootstrap-starter
Components
Accordion
Alert ([ ] template url)
Buttons
Carousel (in progress...)
Collapse ([ ] animate)
Datepicker
Dropdown ([ ] template url, [ ] append to body)
Modal
Pagination([ ] todos, ugly code:) )
Popover
Progressbar
Rating
Tabs
Timepicker ([ ] validation)
[+-] Tooltip (baseline working, in progress...)
Typeahead
NgTransclude - to transclude templates
positional service
template url support
Install from npm
npm i ng2-bootstrapInstall from source
npm i
npm startTODO
- use lodash defaults and isDefined?
- find a better way to detect is event handler is set (see alerts.ts)
- support
templateUrlfor directives - demo page
- docs
- support animation
- publish to npm, bower, etc.
- migration guide from Angular 1 to Angular 2