ai11y docs
    Preparing search index...

    Function getMarkerLabel

    • Gets the value of the data-ai-label attribute from an element

      Parameters

      • element: Element

        The element to get the attribute from

      Returns string | null

      The marker label or null if not found