MAIDR JavaScript API
    Preparing search index...
    • The elements matching a selector inside the diagram, in document order, leaving out MAIDR's own copies.

      A diagram is converted again when the reader changes language, while MAIDR may be showing it: the mark the reader is on then has its highlight beside it, a copy carrying the mark's classes, and counted with the marks it would put every one after it out of step.

      Parameters

      • svg: Element

        The diagram

      • selector: string

        What to match

      Returns Element[]

      The matches