IconAffixComponent class
Icon affix component - if the icon has an action attached to it, then clicking/triggering the icon will also run the action.
- Implemented types
- Annotations
-
- @Component(selector: 'icon-affix', directives: [ButtonDirective, MaterialIconComponent, NgClass], changeDetection: ChangeDetectionStrategy.onPush, styleUrls: ['icon_affix.scss.css'], template: r''' <material-icon baseline buttonDecorator class="secondary-icon" [attr.aria-label]="actionIconAriaLabel" [ngClass]="affix.cssClass" [class.action-icon]="false" [class.disabled]="!isActionIconAffix" [class.hover-icon]="affix.isVisibleOnHover" [disabled]="!isActionIconAffix" [icon]="icon" (trigger)="handleActionIconTrigger($event)"> </material-icon> ''')
Constructors
- IconAffixComponent(ChangeDetectorRef _cdRef, )
Properties
- actionIconAriaLabel → String?
-
no setter
- affix → IconAffix
-
no setter
- disabled ↔ bool
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Icon
-
no setter
- isActionIconAffix → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ IconAffix
-
getter/setter pairoverride
Methods
-
handleActionIconTrigger(
Event event) → 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