Open JD-Robbs opened 5 years ago
Just putting it out there: snapping to other elements while dragging and resizing.
This could involve a "snapThreshold" value in, say, px - if you're within that range, it will snap to the respective element's/elements' boundaries.
This could be targeted by a list of selectors to snap to - e.g. "snapToSelectors".
Thank you. It's a great feature. I will think about it.
Trying to figure out how to do this for our project as well. using resize and need it to snap to other elements on a 2D bar when within a threshold.
Just putting it out there: snapping to other elements while dragging and resizing.
This could involve a "snapThreshold" value in, say, px - if you're within that range, it will snap to the respective element's/elements' boundaries.
This could be targeted by a list of selectors to snap to - e.g. "snapToSelectors".