FoIconComponent class

An icon component. Make sure to have imported the icomoon font and style into your project.

Annotations
  • @Component(selector: 'fo-icon', templateUrl: 'fo_icon_component.html', styleUrls: ['fo_icon_component.css'], directives: [NgFor, NgIf, NgStyle], changeDetection: ChangeDetectionStrategy.OnPush)

Constructors

FoIconComponent.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
icon String?
getter/setter pair
iconClass String
no setter
material bool
If this flag is set, fo_icon uses material icon instead
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size String
getter/setter pair
subPaths List<String>
getter/setter pair

Methods

ngAfterChanges() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited