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

Class FakePositionStrategy

src/cdk/overlay/overlay.spec.ts:1255–1267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1253}
1254
1255class FakePositionStrategy implements PositionStrategy {
1256 element: HTMLElement | undefined;
1257
1258 apply(): void {
1259 this.element?.classList.add('fake-positioned');
1260 }
1261
1262 attach(overlayRef: OverlayRef) {
1263 this.element = overlayRef.overlayElement;
1264 }
1265
1266 dispose() {}
1267}
1268
1269class FakeScrollStrategy implements ScrollStrategy {
1270 isEnabled = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected