ScoreboardComponent class
This component manages a row of scorecards.
a11y note: The default selectable colors use the charting palette from palette.dart which has some colors which do not obey color contrast it is adviseable that you specify your selected colors instead of relying on the default.
Attributes:
enableUniformWidths: bool
-- Whether scorecards in the scoreboard should have uniform widths.
- Annotations
-
- @Component(selector: 'acx-scoreboard', directives: [MaterialButtonComponent, MaterialIconComponent, NgIf, ScorecardBarDirective], templateUrl: 'scoreboard.html', styleUrls: ['scoreboard.scss.css'], changeDetection: ChangeDetectionStrategy.onPush)
Constructors
- ScoreboardComponent(@Attribute('enableUniformWidths') String? enableUniformWidths, DomService _domService, ChangeDetectorRef _changeDetector)
Properties
- atScorecardBarEnd → bool
-
no setter
- atScorecardBarStart → bool
-
no setter
- backIconType → String
-
no setter
- chevronBack ↔ String
-
getter/setter pair
- chevronForward ↔ String
-
getter/setter pair
- forwardIconType → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isScrollable → bool
-
no setter
- isVertical ↔ bool
-
Whether the scorecard is displayed vertically. Defaults to false.
getter/setter pair
- resetOnCardChanges ↔ bool
-
Whether to reset the card selection when there are card changes.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scorecardBar ← ScorecardBarDirective?
-
no getter
-
scoreCards
← List<
ScorecardComponent> -
no getter
- scrollable ↔ bool
-
Whether allow scrolling the scoreboard via scroll buttons.
getter/setter pair
- type ↔ ScoreboardType
-
Type of scoreboard, e.g., standard, selectable, radio, toggle.
getter/setter pair
Methods
-
ngOnDestroy(
) → void - Executed before the directive is removed from the DOM and destroyed.
-
ngOnInit(
) → void - Executed after the first change detection run for a directive.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scrollBack(
) → void -
scrollForward(
) → void -
selectionChange(
ScorecardComponent selectedScorecard) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- scrollScorecardBarBack → String
-
final
- scrollScorecardBarForward → String
-
final
Constants
- chevronLeft → const String
- chevronRight → const String