ai11y docs
    Preparing search index...

    Function highlightMarker

    • Highlights a marker element by its ID Scrolls the element into view (only if not already in view) and applies visual highlighting

      Parameters

      • markerId: string

        The marker ID to highlight

      • options: HighlightOptions = {}

        Optional configuration for highlighting

      Returns void

      highlightMarker('connect_stripe', {
      onHighlight: (id, el) => console.log('Highlighted:', id),
      duration: 3000
      });