MAIDR Documentation - v3.73.0
    Preparing search index...
    • Generates a unique id string with the given prefix.

      Combines a module-level counter with a short random suffix so ids remain unique across multiple adapter instances on the same page. Deliberately avoids crypto.randomUUID(), which is unavailable outside secure contexts.

      Parameters

      • prefix: string

        Adapter-specific id prefix (e.g. 'd3').

      Returns string

      A unique id string, e.g. 'd3-1-k3f9x2'.