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

Method blur

src/cdk/testing/testbed/unit-test-element.ts:75–78  ·  view source on GitHub ↗

Blur the element.

()

Source from the content-addressed store, hash-verified

73
74 /** Blur the element. */
75 async blur(): Promise<void> {
76 triggerBlur(this.element as HTMLElement);
77 await this._stabilize();
78 }
79
80 /** Clear the element's input (for input and textarea elements only). */
81 async clear(): Promise<void> {

Callers

nothing calls this directly

Calls 1

triggerBlurFunction · 0.90

Tested by

no test coverage detected