core/common/icon.directive.ts
Allows to set a icon. Switches between c8y default icons and font awesome icons.
Example :<i [c8yIcon]="'clock'">
Selector | [c8yIcon] |
Standalone | true |
Inputs |
Accessors |
constructor(el: ElementRef, renderer: Renderer2)
|
|||||||||
Parameters :
|
c8yIcon | ||||||
setc8yIcon(icon: SupportedIconsSuggestions | literal type)
|
||||||
Sets the icon to be displayed. This directive handles the correct CSS classes for Cumulocity IoT's dual-color icon sets. There are two main icon sets:
Parameters :
Returns :
void
|