Home > @jsplumbtoolkit/templates > Knockle > remove
Knockle.remove() method
Removes the given element from this Knockle instance, and optionally removes it from the DOM too.
Signature:
remove(el: any, removeFromDOM?: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
el | any | Element to remove. |
removeFromDOM | boolean | Whether or not to also remove from the DOM. |
Returns:
void