Skip to main content

Home > @jsplumbtoolkit/core > Selection > remove

Selection.remove() method

Removes the given object from the selection.

Signature:

remove(obj: string | Array<string> | Base | Array<Base> | Path | Selection, evtPipe?: any): any[];

Parameters

ParameterTypeDescription
objstring | Array<string> | Base | Array<Base> | Path | SelectionObject(s) to remove. May take many forms - a Group, Group Id, Node, Node Id, or Edge, or a list of these, or a Path.
evtPipeany

Returns:

any[]