ai11y docs
    Preparing search index...

    Function getMarkerId

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

      Parameters

      • element: Element

        The element to get the attribute from

      Returns string | null

      The marker ID or null if not found