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

Function sectionTop

js/userGuidance.js:697–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

695 let navigationTimer = null;
696 // offsetTop can be relative to the dialog rather than the scrolling panel.
697 const sectionTop = section => section.getBoundingClientRect().top
698 - panel.getBoundingClientRect().top + panel.scrollTop - panel.clientTop;
699 const releaseNavigationTarget = function () {
700 clearTimeout(navigationTimer);
701 navigationTimer = setTimeout(() => { navigationTarget = null; }, 150);

Callers 2

userGuidance.jsFile · 0.85
syncActiveSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected