UseRemove
katanakit-js / useRemove
Function: useRemove()
Section titled “Function: useRemove()”function useRemove(target): void;Defined in: infrastructure/dom/dom.service.ts:470
Removes the target element from the DOM.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
target |
string | Element |
A CSS selector string or an Element instance. |
Returns
Section titled “Returns”void
Example
Section titled “Example”useRemove(".modal-overlay");