Skip to content

Function: removeDom()

ts
function removeDom(el): void;

Remove a DOM element.

Parameters

ParameterTypeDescription
elElementThe element to remove.

Returns

void

Example

ts
removeDom(document.getElementById('my-element'));

Since

1.0.0

Released under the MIT License.