Skip to main content

Home > @jsplumbtoolkit/drop > SurfaceDropManagerOptions > canvasSelector

SurfaceDropManagerOptions.canvasSelector property

Optional selector specifying what parts of the surface's canvas should be considered whitespace. If you're using a decorator, for instance, you might want to add a selector for that decorator's elements so that items can be dropped onto them.

Signature:

canvasSelector?: string;