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

Method attach

src/cdk/overlay/position/position-strategy.ts:14–14  ·  view source on GitHub ↗

Attaches this position strategy to an overlay.

(overlayRef: OverlayRef)

Source from the content-addressed store, hash-verified

12export interface PositionStrategy {
13 /** Attaches this position strategy to an overlay. */
14 attach(overlayRef: OverlayRef): void;
15
16 /** Updates the position of the overlay element. */
17 apply(): void;

Callers 15

constructorMethod · 0.65
attachMethod · 0.65
updateScrollStrategyMethod · 0.65
attachOverlayMethod · 0.65
overlay.spec.tsFile · 0.65
attachOverlayFunction · 0.65
attachOverlayFunction · 0.65

Implementers 3

FlexibleConnectedPositionStrategysrc/cdk/overlay/position/flexible-conn
FakePositionStrategysrc/cdk/overlay/overlay.spec.ts
GlobalPositionStrategysrc/cdk/overlay/position/global-positi

Calls

no outgoing calls

Tested by 2

attachOverlayFunction · 0.52
attachOverlayFunction · 0.52