Skip to main content

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#

ParameterTypeDescription
elanyElement to remove.
removeFromDOMbooleanWhether or not to also remove from the DOM.

Returns:

void