MCPcopy Create free account
hub / github.com/Rello/analytics / sectionTop

Function sectionTop

js/userGuidance.js:567–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565 let navigationTimer = null;
566 // offsetTop can be relative to the dialog rather than the scrolling panel.
567 const sectionTop = section => section.getBoundingClientRect().top
568 - panel.getBoundingClientRect().top + panel.scrollTop - panel.clientTop;
569 const releaseNavigationTarget = function () {
570 clearTimeout(navigationTimer);
571 navigationTimer = setTimeout(() => { navigationTarget = null; }, 150);

Callers 2

userGuidance.jsFile · 0.85
syncActiveSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected