Skip to main content

Home > @jsplumbtoolkit/browser-ui-angular-drop > jsPlumbSurfaceDropComponent > canvasSelector

jsPlumbSurfaceDropComponent.canvasSelector property

Optional extra selector to use when dragging to identify parts of the surface's canvas that should be considered whitespace. If you use a decorator, for instance, or have otherwise positioned elements on your canvas, these elements will not by default be considered whitespace.

Signature:

canvasSelector: string;