Skip to main content

Home > @jsplumbtoolkit/browser-ui > SurfaceRenderOptions > selection

SurfaceRenderOptions.selection property

Optional Selection - or generator - to use as the dataset to render. If you supply this the Surface will render the contents of the selection, or the list of vertices that the given function returns. This is useful for such things as inspector windows for parts of your UI.


selection?: Selection | Function;