Skip to main content
SnaplinesPluginOptions
Options for the SnaplinesPlugin
NameTypeDescription
enabled?booleanDefaults to true. If false, you can start the plugin in disabled mode.
showCenters?booleanWhether or not to show center snaplines. Defaults to true.
showEdges?booleanWhether or not to show edge snaplines. Defaults to true.
tolerance?numberThe 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).