import { Component, OnInit, Input, Output, OnDestroy, EventEmitter } from '@angular/core'; @Component({ selector: 'cm-radio-doc', templateUrl: './radio-doc.component.html', styleUrls: ['./radio-doc.component.css'] }) export class RadioDocComponent implements OnInit, OnDestroy { apiPath = './docs/components/radio-doc/radio.api.json'; doc_1 = { title: "RadioGroup组合", intro: `一组互斥的 Radio 配合使用`, htmlPath: './docs/components/radio-doc/radio-doc-1/radio-doc-1.component.html', tsPath: './docs/components/radio-doc/radio-doc-1/radio-doc-1.component.ts' } doc_2 = { title: "不可用", intro: `Radio不可用`, htmlPath: './docs/components/radio-doc/radio-doc-2/radio-doc-2.component.html', tsPath: './docs/components/radio-doc/radio-doc-2/radio-doc-2.component.ts' } doc_3 = { title: "按钮样式", intro: `按钮样式的单选组合。`, htmlPath: './docs/components/radio-doc/radio-doc-3/radio-doc-3.component.html', tsPath: './docs/components/radio-doc/radio-doc-3/radio-doc-3.component.ts' } doc_4 = { title: "大小", intro: `大中小三种组合,可以和表单输入框进行对应配合。`, htmlPath: './docs/components/radio-doc/radio-doc-4/radio-doc-4.component.html', tsPath: './docs/components/radio-doc/radio-doc-4/radio-doc-4.component.ts' } constructor() {} ngOnInit() { } ngOnDestroy() { } }