Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
set selected(value: boolean) {
const newValue = coerceBooleanProperty(value);
this._selected = newValue;
this._foundation.setSelected(newValue);
if (this.filter && this.leadingIcon) {
this.leadingIcon.elementRef.nativeElement.classList.remove(chipCssClasses.HIDDEN_LEADING_ICON);
}
}
private _selected: boolean = false;