repository/shared/columns/device-type.cell-renderer.component.ts
OnInit
selector | c8y-device-type-cell-renderer |
standalone | true |
imports |
CommonModule
DeviceGridModule
TooltipModule
RouterModule
|
templateUrl | ./device-type.cell-renderer.component.html |
Properties |
|
Methods |
constructor(context: CellRendererContext)
|
||||||
Parameters :
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
Public context |
Type : CellRendererContext
|
deviceType |
Type : string
|
<span *ngIf="deviceType; else emptyText">
{{ deviceType }}
</span>
<ng-template #emptyText>
<small class="text-muted">
<em translate>Undefined`device type`</em>
</small>
</ng-template>