INNER CODE UNIT · JavaScript

current

mikelove/bioc-refcard · README_files/libs/quarto-html/quarto.js:151

      const current = sections.length - sectionIndex - 1;
      if (current !== currentActive) {
        removeAllActive();
        currentActive = current;
        makeActive(current);
        if (init) {
          window.dispatchEvent(sectionChanged);
        }
        init = true;
      }
    }
  };

  const inHiddenRegion = (top, bottom, hiddenRegions) => {
    for (const region of hiddenRegions) {
      if (top <= region.bottom && bottom >= region.top) {
        return true;
      }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…