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

Method _disposeScrollStrategy

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

Disposes of a scroll strategy.

()

Source from the content-addressed store, hash-verified

604
605 /** Disposes of a scroll strategy. */
606 private _disposeScrollStrategy() {
607 const scrollStrategy = this._scrollStrategy;
608 scrollStrategy?.disable();
609 scrollStrategy?.detach?.();
610 }
611}
612
613/** 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