### File

`src/table/cell/table-data.component.ts`

### Metadata

selector | `[ibmTableData]`
template |
    <ng-container *ngIf="!skeleton && !item.template">{{item.data}}</ng-container>
    <ng-template
    	*ngIf="!skeleton"
    	[ngTemplateOutlet]="item.template"
    	[ngTemplateOutletContext]="{data: item.data}">
    </ng-template>

### Index

###### Inputs
item skeleton

### Inputs

`item` | Type : `TableItem`
Defined in src/table/cell/table-data.component.ts:20

`skeleton` | Default value : `false`
Defined in src/table/cell/table-data.component.ts:22

    import {
    	Component,
    	Input
    } from "@angular/core";
    import { TableItem } from "./../table-item.class";

    @Component({
    	// tslint:disable-next-line: component-selector
    	selector: "[ibmTableData]",
    	template: `
    		<ng-container *ngIf="!skeleton && !item.template">{{item.data}}</ng-container>
    		<ng-template
    			*ngIf="!skeleton"
    			[ngTemplateOutlet]="item.template"
    			[ngTemplateOutletContext]="{data: item.data}">
    		</ng-template>
    	`
    })
    export class TableData {
    	@Input() item: TableItem;

    	@Input() skeleton = false;
    }

Legend
Html element
Component
Html element with directive

# result-matching ""

# No results matching ""