File

core/list-group/list-item-icon.component.ts

Description

An icon to display on a list item. Use it with content projection.

Example :
<c8y-li>
  <c8y-li-icon="rocket"></c8y-li-icon>
</c8y-li>

Metadata

Index

Inputs

Inputs

icon
Type : string

The icon name passed to the c8yIcon directive.

status
Type : "statusOk" | "statusUnknown" | "statusAlert" | "statusNok" | "status critical" | "status warning" | "status minor" | "status major"

A status to change the color of the icon.

<i [c8yIcon]="icon" [ngClass]="status" *ngIf="icon"></i>
<ng-content></ng-content>

results matching ""

    No results matching ""