LWT JavaScript API
    Preparing search index...
    • Create an interactable to add a new expression.

      WARNING! This function was not properly tested!

      Parameters

      • text: TextDictionary

        An array of words forming the expression

      • attrs: string

        A group of attributes to add

      • length: number

        Number of words, should correspond to WoWordCount

      • hex: string

        Lowercase formatted version of the text.

      • showallwords: boolean

        true: multi-word is a superscript, show mw index + words false: only show the multiword, hide the words

      Returns void

      2.5.2-fork Don't hide multi-word index when inserting new multi-word.