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

Method mouseAway

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

Moves the mouse away from the element.

()

Source from the content-addressed store, hash-verified

154
155 /** Moves the mouse away from the element. */
156 async mouseAway(): Promise<void> {
157 this._dispatchPointerEventIfSupported('pointerleave');
158 dispatchMouseEvent(this.element, 'mouseout');
159 dispatchMouseEvent(this.element, 'mouseleave');
160 await this._stabilize();
161 }
162
163 /**
164 * Sends the given string to the input as a series of key presses. Also fires input events

Callers

nothing calls this directly

Calls 2

dispatchMouseEventFunction · 0.90

Tested by

no test coverage detected