MCPcopy Create free account
hub / github.com/ampproject/amphtml / getScrollLeft

Function getScrollLeft

ads/google/a4a/test/test-utils.js:409–409  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

407 return {'width': 100, 'height': 200};
408 };
409 const getScrollLeft = () => 12.1;
410 const getScrollTop = () => 34.2;
411 const viewportStub = env.sandbox.stub(Services, 'viewportForDoc');
412 viewportStub.returns({getRect, getSize, getScrollTop, getScrollLeft});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected