/** * @module modifiers/snapEdges * * @description * This module allows snapping of the edges of targets during resize * interactions. * * @example * interact(target).resizable({ * snapEdges: { * targets: [interact.snappers.grid({ x: 100, y: 50 })], * }, * }) * * interact(target).resizable({ * snapEdges: { * targets: [ * interact.snappers.grid({ * top: 50, * left: 50, * bottom: 100, * right: 100, * }), * ], * }, * }) */ import { ModifierModule } from '../base'; import { SnapOptions, SnapState } from './pointer'; declare const snapEdges: ModifierModule; export default snapEdges;