MCPcopy
hub / github.com/angular/components / getElementAt

Function getElementAt

src/cdk/menu/menu.spec.ts:119–121  ·  view source on GitHub ↗

Return the element at the specified point.

(point: Point)

Source from the content-addressed store, hash-verified

117
118 /** Return the element at the specified point. */
119 function getElementAt(point: Point) {
120 return document.elementFromPoint(point.x, point.y) as HTMLElement;
121 }
122
123 describe('with ltr layout and menu at top of page moving down and right', () => {
124 let fixture: ComponentFixture<WithComplexNestedMenus>;

Callers 1

hoverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…