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

Function getPaneElement

src/cdk/overlay/overlay-directives.spec.ts:62–64  ·  view source on GitHub ↗

Returns the current open overlay pane element.

()

Source from the content-addressed store, hash-verified

60
61 /** Returns the current open overlay pane element. */
62 function getPaneElement() {
63 return overlayContainerElement.querySelector('.cdk-overlay-pane') as HTMLElement;
64 }
65
66 it(`should attach the overlay based on the open property`, () => {
67 fixture.componentInstance.isOpen = true;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected