intro.js
    Preparing search index...
    • Cut a hole in the overlay where the target element is, so the target stays clickable even when it sits inside a parent with its own stacking context (z-index, transform, filter, opacity...), where its own z-index can't lift it above the tour layers. Clears the hole when there is no visible target.

      The overlay is position: fixed, so the hole uses viewport coordinates and has to be updated when the page scrolls or resizes.

      Parameters

      • overlayLayer: HTMLElement
      • target: Element | null | undefined

      Returns void