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

Class FakePositionStrategy

src/cdk/overlay/overlay.spec.ts:1129–1141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1127}
1128
1129class FakePositionStrategy implements PositionStrategy {
1130 element: HTMLElement | undefined;
1131
1132 apply(): void {
1133 this.element?.classList.add('fake-positioned');
1134 }
1135
1136 attach(overlayRef: OverlayRef) {
1137 this.element = overlayRef.overlayElement;
1138 }
1139
1140 dispose() {}
1141}
1142
1143class FakeScrollStrategy implements ScrollStrategy {
1144 isEnabled = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected