Skip to main content

Interface: ExcludableSnapTargets

Configuration for the SnappingExtension to ignore certain snap targets when building targetSnapLines. Setting a value to true disables that snapping target

Properties

itemCenters

Optional itemCenters: boolean

Disable snapping the selection to the center of other items

Defined in

packages/design-engine-react-components/src/extensions/snapping/SnappingExtension.ts:50


items

Optional items: boolean

Disable snapping the selection to the sides of other items

Defined in

packages/design-engine-react-components/src/extensions/snapping/SnappingExtension.ts:46


masks

Optional masks: Record<MaskType, boolean>

Disable snapping the selection to specific masks of the current panel (BLEED, TRIM, SAFE, etc.)

Defined in

packages/design-engine-react-components/src/extensions/snapping/SnappingExtension.ts:58


panelCenters

Optional panelCenters: boolean

Disable snapping the selection to the center lines of the current panel

Defined in

packages/design-engine-react-components/src/extensions/snapping/SnappingExtension.ts:54