API Documentation
    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: HTMLElement | null | undefined

        the dom node to destroy

      Returns void