Angular5中提取公共组件之radio list的实例代码
本文给大家说一下Radio List的公共组件提取。 Radio List组件提取起来很方便,不想Checkbox那么复杂。 radio-list.component.ts import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; import { RadioItem } from '../../model/radio'; import { NgModel } from '@angular/forms'; @Component({ selector: 'app-radio-list',
下载地址
用户评论