Skip to content

A bootstrap 4 and angular 2 package for dartlang

License

Notifications You must be signed in to change notification settings

banalg/ng_bootstrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ng_bootstrap

Join the chat at https://gitter.im/dart-league/ng_bootstrap

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_transformer: any
    ...
transformers:
- sass_transformer

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

About

A bootstrap 4 and angular 2 package for dartlang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 67.2%
  • HTML 25.6%
  • CSS 7.2%