Home > @jsplumbtoolkit/core > JsPlumbToolkitOptions > selectionCapacityPolicy
JsPlumbToolkitOptions.selectionCapacityPolicy property
Defines the action taken when appending an object that would take the selection above its limit for the given object type. This can be either Selection.DISCARD_EXISTING (the default) or Selection.DISCARD_NEW.
Signature:
selectionCapacityPolicy?: string;