• Deletes the specified HTML element from the Document Object Model (DOM).

    Parameters

    • element: HTMLElement

      The HTML element to be removed from the DOM.

    Returns void

    See

    MDN Documentation for ChildNode.remove()

    Example

    // Get an element by its GUID
    const targetElement = ix.api.dom.getHtml("<ELEMENT-GUID>");

    // Remove the target element from the DOM
    ix.api.dom.remove(targetElement);