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

Method getRootElement

src/cdk/drag-drop/directives/drag.ts:268–270  ·  view source on GitHub ↗

Returns the root draggable element.

()

Source from the content-addressed store, hash-verified

266
267 /** Returns the root draggable element. */
268 getRootElement(): HTMLElement {
269 return this._dragRef.getRootElement();
270 }
271
272 /** Resets a standalone drag item to its initial position. */
273 reset(): void {

Callers 7

sortMethod · 0.45
enterMethod · 0.45
resetMethod · 0.45
sortMethod · 0.45
enterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected