Skip to main content

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

SurfaceRenderOptions.modelTopAttribute property

Defines the name of the attribute in a given vertex's backing data that provides its location in the Y axis. Defaults to "top". If you have a UI with multiple renderers you can use this parameter to store multiple sets of locations for a given vertex inside its data.

Signature:

modelTopAttribute?: string;