MAIDR JavaScript API
    Preparing search index...
    • Keeps a chart's words in the language MAIDR speaks: when the reader changes it, the chart is converted again and MAIDR handed the result.

      Charts no longer in the page are let go as others are added, so a page that draws its diagrams again and again holds on to none of the old ones.

      Parameters

      • element: Element

        Where the chart is bound

      • language: Locale

        The language its words are written in now

      • maidr: Maidr

        The chart data written in it

      • reconvert: (language: Locale) => Maidr | Promise<Maidr>

        Converts the chart again in another language

      Returns void