import { Component, OnInit, OnDestroy } from '@angular/core'; @Component({ selector: 'cm-table-doc', templateUrl: './table-doc.component.html', styleUrls: ['./table-doc.component.css'] }) export class CmtTablegathercomponent implements OnInit, OnDestroy { apiPath = './docs/components/cm-table-doc/table.api.json'; doc_1 = { title: "设置边框;", intro: `[basics]边框和溢出显示;[frame];cmtborderbottom,cmtborderright`, htmlPath: './docs/components/cm-table-doc/table-doc-1/table-doc-1.component.html', tsPath: './docs/components/cm-table-doc/table-doc-1/table-doc-1.component.ts' } doc_2 = { title: "固定列表宽度;高亮色 ", intro: `固定列表宽度;highlightcolor`, htmlPath: './docs/components/cm-table-doc/table-doc-2/table-doc-2.component.html', tsPath: './docs/components/cm-table-doc/table-doc-2/table-doc-2.component.ts' } doc_3 = { title: "固定列", intro: `第一列或最后一列数据添加属性fixed:"";width:"";宽度与col对应列宽度相等`, htmlPath: './docs/components/cm-table-doc/table-doc-3/table-doc-3.component.html', tsPath: './docs/components/cm-table-doc/table-doc-3/table-doc-3.component.ts' } doc_4 = { title: "", intro: ``, htmlPath: './docs/components/cm-table-doc/table-doc-4/table-doc-4.component.html', tsPath: './docs/components/cm-table-doc/table-doc-4/table-doc-4.component.ts' } // doc_5 = { // title: "", // intro: ``, // htmlPath: './docs/components/cm-table-doc/table-doc-5/table-doc-5.component.html', // tsPath: './docs/components/cm-table-doc/table-doc-5/table-doc-5.component.ts' // } constructor() { } ngOnInit() { } ngOnDestroy() { } }