File

core/common/icon.directive.ts

Description

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

Example

<i [c8yIcon]="'rocket'">

Metadata

Selector [c8yIcon]

Index

Inputs
Accessors

Constructor

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

Inputs

c8yIcon

Type : string

Accessors

c8yIcon
setc8yIcon(icon: string)
Parameters :
Name Type Optional
icon string No
Returns : void

result-matching ""

    No results matching ""