src/table/header/table-header.component.ts
| selector | cds-table-header, ibm-table-header |
| template | |
Properties |
HostBindings |
| class.cds--data-table-header |
Type : boolean
|
Default value : true
|
| style.display |
Type : string
|
Default value : "block"
|
| displayStyle |
Type : string
|
Default value : "block"
|
Decorators :
@HostBinding('style.display')
|
| headerClass |
Default value : true
|
Decorators :
@HostBinding('class.cds--data-table-header')
|
import { Component, HostBinding } from "@angular/core";
@Component({
selector: "cds-table-header, ibm-table-header",
template: `
<ng-content></ng-content>
`
})
export class TableHeader {
@HostBinding("class.cds--data-table-header") headerClass = true;
@HostBinding("style.display") displayStyle = "block";
}