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

Function getBackdrop

src/material/autocomplete/autocomplete.spec.ts:73–77  ·  view source on GitHub ↗
(fixture: ComponentFixture<unknown>)

Source from the content-addressed store, hash-verified

71 }
72
73 function getBackdrop(fixture: ComponentFixture<unknown>): HTMLElement | null {
74 return (
75 fixture.nativeElement.querySelector('.cdk-overlay-popover .cdk-overlay-backdrop') || null
76 );
77 }
78
79 function wait(milliseconds: number) {
80 return new Promise(resolve => setTimeout(resolve, milliseconds));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected