ace-component
Version:
ace-components for ewms
32 lines (28 loc) • 654 B
text/typescript
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
({
selector: 'app-body-page',
templateUrl: './body-page.component.html',
styleUrls: ['./body-page.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class BodyPageComponent implements OnInit {
thead = ['名字','说明','默认值'];
tableValue=[
{
name:'.ngheader',
text:'在标题栏的右边插值',
default:' - '
},
{
name:'.ngbody',
text:'内容区',
default:' - '
}
];
constructor() { }
ngOnInit() {
}
getKeys(item:any){
return [item.name, item.text,item.default]
}
}