FoButtonComponent class

Annotations
  • @Component.new(selector: 'fo-button', templateUrl: 'fo_button_component.html', styleUrls: ['fo_button_component.css'], directives: [FoIconComponent, NgClass, NgIf], changeDetection: ChangeDetectionStrategy.OnPush)

Constructors

FoButtonComponent()

Properties

clearSize ↔ bool
getter/setter pair
disabled ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
icon ↔ String?
Button icon, don't use when the button has a label (use leading-/trailingIcon for that)
getter/setter pair
label ↔ String?
getter/setter pair
leadingIcon ↔ String?
Only use when the button also has a label
getter/setter pair
leftBorder ↔ bool
getter/setter pair
materialIcon ↔ bool
getter/setter pair
rightBorder ↔ bool
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
themeBackgroundColor ↔ String?
Set background color dynamically, overrides any color set by mixins and attributes.
getter/setter pair
themeColor ↔ String?
Set text/icon color dynamically, overrides any color set by mixins and attributes
getter/setter pair
trailingIcon ↔ String?
Only use when the button also has a label
getter/setter pair
trigger → Stream<FoButtonEvent>
no setter
white ↔ bool
getter/setter pair

Methods

ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onClick() → void
toString() → String
A string representation of this object.
inherited

Operators

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