cgil-html-utils - v3.0.1
    Preparing search index...

    Function addDiv

    • add a div HtmlElement with the given innerHtml to the document or the element with id parentId

      Parameters

      • innerHtml: string
      • Optionalid: string
      • OptionalparentId: string
      • OptionalclassName: string

        the css class to set for the new div

      Returns boolean

      true if div tag was added successfully, otherwise false