tl-angular
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

tl-angular

组件库

NPM version

组件列表

  • 类似序列号填写的组件
  • 联系人列表(正在开发)

1、安装

npm install tl-angular --save

例如:添加类似序列号填写的组件,把SerialNumberModule 导入项目

import {SerialNumberModule} from "tl-angular";

@NgModule({
  imports: [ /* ... */ SerialNumberModule],
  declarations: [AppComponent],
  bootstrap: [AppComponent]
})
export class AppModule {}

2、使用

<serial-number
    style="display: block"
    [(ngModel)]="testSerial"
    [readOnly]="false"
    [size]="6"></serial-number>
import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
   testSerial='111'
}

组件详情

1、类似序列号填写的组件

SerialNumberModule

Readme

Keywords

none

Package Sidebar

Install

npm i tl-angular

Weekly Downloads

2

Version

0.0.5

License

MIT

Last publish

Collaborators

  • chenyuanchn