ngx-br-tank
v0.3.3
Published
[](https://travis-ci.org/nbfontana/ngx-br) [](http://badge.fury.io/js/ngx-br) [
]
})
export class MyModule {}Finally use in one of your apps components:
import { Component } from '@angular/core';
@Component({
template: '<cpf [placeholder]="'Digite seu CPF'"></cpf>'
})
export class MyComponent {}You may also find it useful to view the demo source.
Usage without a module bundler
<script src="node_modules/ngx-br/bundles/ngx-br.umd.js"></script>
<script>
// everything is exported ngxBr namespace
</script>Development
Prepare your environment
- Install Node.js and NPM
- Install local dev dependencies:
npm installwhile current directory is this repo
Development server
Run npm start or npm run demo to start a development server on port 8000 with auto reload + tests.
Testing
Run npm test to run tests once or npm run test:watch to continually run tests.
License
MIT @ Neri Bez Fontana
