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

Method getRootElement

src/cdk/drag-drop/drag-ref.ts:440–442  ·  view source on GitHub ↗

Returns the root draggable element.

()

Source from the content-addressed store, hash-verified

438
439 /** Returns the root draggable element. */
440 getRootElement(): HTMLElement {
441 return this._rootElement;
442 }
443
444 /**
445 * Gets the currently-visible element that represents the drag item.

Callers 1

getVisibleElementMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected