SkawaInfobarComponent class

An Inforbar is compositing an (icon as button)https://material.io/components/web/catalog/buttons/icon-toggle-buttons/ and an arbitrary component. Infobar is designed to display small notifications, important messages to the user, in-context.

This differs from "snackbars" and "toasts" that serve as feedback of actions.

Note: Infobar component uses Material Icon font, make sure it is available

Example usage:

Inputs:

  • icon: Icon to display in the infobar.
  • url: Url to navigate the user to when icon is triggered.

Events:

  • trigger: Event -- Published when the icon is triggered.
Annotations
  • @Component(selector: 'skawa-infobar', templateUrl: 'infobar.html', exportAs: 'infobar', styleUrls: ['infobar.css'], directives: [MaterialIconComponent, MaterialButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush)

Constructors

SkawaInfobarComponent(ChangeDetectorRef _changeDetectorRef)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
icon String
read / write
onTrigger Stream<UIEvent>
read-only
primaryActionButton MaterialButtonComponent
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
url String
read / write

Methods

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

Operators

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