@blinkk/degu
    Preparing search index...

    Function createElementFromString

    • Creates an html element from a string.

      dom.createElementFromString("<div>Hohohoho</div>");
      

      Parameters

      • htmlString: string
      • fragMethod: boolean = false

        Uses a method to create dom from string WITHOUT using innerHTML

      Returns HTMLElement