File

core/common/icon.directive.ts

Description

Allows to set a icon. Switches between c8y default icons and font awesome icons.

Example :
<i [c8yIcon]="'clock'">

Metadata

Index

Inputs
Accessors

Constructor

constructor(el: ElementRef, renderer: Renderer2)
Parameters :
Name Type Optional
el ElementRef No
renderer Renderer2 No

Inputs

c8yIcon
Type : T | literal type

Accessors

c8yIcon
setc8yIcon(icon: T | literal type)
Parameters :
Name Type Optional
icon T | literal type No
Returns : void

results matching ""

    No results matching ""