File

data-grid-columns/asset-type/asset-type.cell-renderer.component.ts

Implements

OnInit

Metadata

Index

Properties
Methods

Constructor

constructor(context: CellRendererContext, assetNodeService: AssetNodeService)
Parameters :
Name Type Optional
context CellRendererContext No
assetNodeService AssetNodeService No

Methods

Async ngOnInit
ngOnInit()
Returns : any

Properties

Public context
Type : CellRendererContext
groupIcon
Type : Promise<string>
iconTitle
Type : string
isAnyGroup
Type : boolean
isAsset
Type : boolean
isDevice
Type : boolean
<device-status
  class="m-l-8"
  [mo]="context.item"
  *ngIf="isDevice"
></device-status>
<i
  class="m-l-8 c8y-icon-duocolor"
  [c8yIcon]="groupIcon | async"
  title="{{ iconTitle | translate }}"
  *ngIf="isAnyGroup || !isDevice"
></i>

results matching ""

    No results matching ""