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

Method _blur

src/material/chips/chip-input.ts:174–184  ·  view source on GitHub ↗

Checks to see if the blur should emit the (chipEnd) event.

()

Source from the content-addressed store, hash-verified

172
173 /** Checks to see if the blur should emit the (chipEnd) event. */
174 _blur() {
175 if (this.addOnBlur) {
176 this._emitChipEnd();
177 }
178 this.focused = false;
179 // Blur the chip list if it is not focused
180 if (!this._chipGrid.focused) {
181 this._chipGrid._blur();
182 }
183 this._chipGrid.stateChanges.next();
184 }
185
186 _focus() {
187 this.focused = true;

Callers

nothing calls this directly

Calls 2

_emitChipEndMethod · 0.95
nextMethod · 0.45

Tested by

no test coverage detected