ng_bootstrap 0.2.1 copy "ng_bootstrap: ^0.2.1" to clipboard
ng_bootstrap: ^0.2.1 copied to clipboard

outdatedDart 1 only

Angular 2 and Bootstrap 4

ng_bootstrap #

[![Join the chat at https://gitter.im/dart-league/ng_bootstrap](https://badges.gitter.im/dart-league/ng_bootstrap.svg)](https://gitter.im/dart-league/ng_bootstrap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Usage & Demo

Getting Started #

1. Create a new angular2-dart app: https://angular.io/docs/dart/latest/quickstart.html

2. Add ng_bootstrap to pubspect.yaml:

dependencies:
    ...
    ng_bootstrap: any
    ...

3. Add sass transformer:

dependencies:
    ...
    sass: any
    ...
transformers:
- sass

you need to install sass previously

4. Add css stylesheet link to index.html:

<head>
    ...
    <link rel="stylesheet" href="packages/ng_bootstrap/all.css">
    ...
</head>

5. Add needed ng_bootstrap directives to your components:

@Component(
    ...
    directives: const [NG_BOOTSTRAP_DIRECTIVES])

Components #

Others #

  • BsTemplateOutlet - to transclude templates (Most likely will be removed in future versions)
  • positional service

Contribution #

Create new issues

Fork me

TODO #

  • support animation (in progress...)
  • demo page
  • docs