Skip to main content

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

SurfaceRenderOptions.modelLeftAttribute property

Defines the name of the attribute in a given vertex's backing data that provides its location in the X axis. Defaults to "left". 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:

modelLeftAttribute?: string;