ngx-br-tank
TypeScript icon, indicating that this package has built-in type declarations

0.3.3 • Public • Published

ngx br

Build Status npm version devDependency Status GitHub issues GitHub stars GitHub license

Demo

https://nbfontana.github.io/ngx-br/

Table of contents

About

Installation

Install through npm:

npm install --save ngx-br

Then include in your apps module:

import { Component, NgModule } from '@angular/core';
import { NgxBrModule } from 'ngx-br';
 
@NgModule({
  imports: [
    NgxBrModule.forRoot()
  ]
})
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 install while 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

Package Sidebar

Install

npm i ngx-br-tank

Weekly Downloads

3

Version

0.3.3

License

MIT

Last publish

Collaborators

  • micheltank