map.apps Bundle APIs 4.20.0
    Preparing search index...

    Function destroyElement

    • Destroys a dom node. The node will be removed from its parent and its content will be cleared.

      Does nothing if node is null or undefined.

      Parameters

      • node: undefined | null | HTMLElement

        the dom node to destroy

      Returns void