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

Method hasAttached

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

Whether the overlay has attached content.

()

Source from the content-addressed store, hash-verified

298
299 /** Whether the overlay has attached content. */
300 hasAttached(): boolean {
301 return this._portalOutlet.hasAttached();
302 }
303
304 /** Gets an observable that emits when the backdrop has been clicked. */
305 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