MCPcopy Index your code
hub / github.com/angular/components / _disposeScrollStrategy

Method _disposeScrollStrategy

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

Disposes of a scroll strategy.

()

Source from the content-addressed store, hash-verified

577
578 /** Disposes of a scroll strategy. */
579 private _disposeScrollStrategy() {
580 const scrollStrategy = this._scrollStrategy;
581 scrollStrategy?.disable();
582 scrollStrategy?.detach?.();
583 }
584}
585
586/** 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