MCPcopy Create free account
hub / github.com/angular/components / toggleSelected

Method toggleSelected

src/dev-app/select/select-demo.ts:205–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 matcher = new MyErrorStateMatcher();
204
205 toggleSelected() {
206 this.currentAppearanceValue = this.currentAppearanceValue ? null : this.digimon[0].value;
207 }
208
209 isDrinkOptionDisabled(index: number) {
210 if (this.drinksOptionsDisabled === 'all') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected