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

Method hasAttached

src/cdk/overlay/overlay-ref.ts:317–319  ·  view source on GitHub ↗

Whether the overlay has attached content.

()

Source from the content-addressed store, hash-verified

315
316 /** Whether the overlay has attached content. */
317 hasAttached(): boolean {
318 return this._portalOutlet.hasAttached();
319 }
320
321 /** Gets an observable that emits when the backdrop has been clicked. */
322 backdropClick(): Observable<MouseEvent> {

Callers 5

attachMethod · 0.95
detachMethod · 0.95
disposeMethod · 0.95
updateScrollStrategyMethod · 0.95

Calls 1

hasAttachedMethod · 0.65

Tested by

no test coverage detected