Skip to main content

Home > @jsplumbtoolkit/browser-ui > ViewPortOptions > anchorX

ViewPortOptions.anchorX property

The x location of any anchors created for this port. Allows you to specify where, in proportional values, the anchor should be located in the x axis. For a full discussion of how to use this (and the other anchor properties in this interface), see the documentation for anchors.


anchorX?: number;