ComPDFKit Web SDK
    Preparing search index...

    Function setElementTag

    • Changes the HTML tag of an element. dataElement must be a value of UI.ElementTagTarget (currently only the document area); tag must be a non-empty string (the caller makes sure the tag is valid and semantically suitable). The default document area is a div.

      Parameters

      • dataElement: string

        A value of UI.ElementTagTarget.

      • tag: string

        The HTML tag name.

      Returns void