selectable property
Implementation
@HostBinding('class.selectable')
bool get selectable => _selectable;
Whether the selection state of the scorecard can be changed by clicking.
Implementation
@Input()
set selectable(bool selectable) {
_selectable = selectable;
// Normally OnPush will markForCheck() automatically when an input changes.
// However, that's only if the input changes within the Angular zone.
// Scoreboard changes this input outside of the Angular zone, so we
// explicitly markForCheck() here to cover that case.
_changeDetector.markForCheck();
}