zr-tag
v3.0.1
Published
This is a tag component.
Downloads
5
Readme
About
This is a tag component.
Installation
Install through npm:
npm install --save zr-tag
Then include in your apps module:
import { NgModule } from '@angular/core';
import { ZrTagModule } from 'zr-tag';
@NgModule({
imports: [
ZrTagModule
]
})
export class MyModule {}
Finally use in one of your apps components:
import { Component } from '@angular/core';
@Component({
template: '<zr-tag [text]="'标签一'"></zr-tag>'
})
export class MyComponent {}