Skip to main content

SnaplinesPluginOptions

Options for the SnaplinesPlugin

Extends

Properties

enabled?

optional enabled: boolean

Defaults to true. If false, you can start the plugin in disabled mode.


showCenters?

optional showCenters: boolean

Whether or not to show center snaplines. Defaults to true.


showEdges?

optional showEdges: boolean

Whether or not to show edge snaplines. Defaults to true.


tolerance?

optional tolerance: number

The tolerance either side of a snapline inside which an element must be before the snapline is activated. Defaults to 10 pixels (either side of the line).