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

Method _disposeScrollStrategy

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

Disposes of a scroll strategy.

()

Source from the content-addressed store, hash-verified

587
588 /** Disposes of a scroll strategy. */
589 private _disposeScrollStrategy() {
590 const scrollStrategy = this._scrollStrategy;
591 scrollStrategy?.disable();
592 scrollStrategy?.detach?.();
593 }
594}
595
596/** Size properties for an overlay. */

Callers 2

disposeMethod · 0.95
updateScrollStrategyMethod · 0.95

Calls 2

detachMethod · 0.65
disableMethod · 0.45

Tested by

no test coverage detected