zr-badge
v3.0.1
Published
This is a badge component.
Downloads
4
Readme
About
This is a badge component.
Installation
Install through npm:
npm install --save zr-badge
Then include in your apps module:
import { NgModule } from '@angular/core';
import { ZrBadgeModule } from 'zr-badge';
@NgModule({
imports: [
ZrTagModule
]
})
export class MyModule {}
Finally use in one of your apps components:
import { Component } from '@angular/core';
@Component({
template: `<zr-badge [count]="50">
<button type="button" class="btn btn-secondary">Bage</button>
</zr-badge>`
})
export class MyComponent {}