Skip to content

UseRemove

katanakit-js / useRemove

function useRemove(target): void;

Defined in: infrastructure/dom/dom.service.ts:470

Removes the target element from the DOM.

Parameter Type Description
target string | Element A CSS selector string or an Element instance.

void

useRemove(".modal-overlay");