core/list-group/list-item-icon.component.ts
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>
host | { |
selector | c8y-list-item-icon, c8y-li-icon |
templateUrl | ./list-item-icon.component.html |
Inputs |
icon |
Type : string
|
The icon name passed to the |
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>