MCPcopy Index your code
hub / github.com/angular/components / toggleDisabled

Method toggleDisabled

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

Source from the content-addressed store, hash-verified

181 ];
182
183 toggleDisabled() {
184 this.foodControl.enabled ? this.foodControl.disable() : this.foodControl.enable();
185 }
186
187 setPokemonValue() {
188 this.currentPokemon = ['jigglypuff-4', 'psyduck-6'];

Callers

nothing calls this directly

Calls 2

disableMethod · 0.45
enableMethod · 0.45

Tested by

no test coverage detected