Enable guidelines for request draggable/resizable
Environments
- Framework name: N/A
- Framework version: N/A
- Moveable Component version: 0.51.1
Description
My use case is the following: I'm developing whiteboard. Moveable works really good with rectangles but I also want to use arrows. At the beginning I've implemented arrows outside of the moveable because it was easier to control the edges, but now I realised that I want to see guidelines for them. It means that arrows should be a part of moveable target. I'm trying to add it, but have an issue with ables. In order to mimic the same behaviour as it was before I need to create a custom controls for moving arrow's edges. Then I call a moveable.request('resizable/draggable') to move or redraw the arrow, but guidelines don't work for programmatic calls of events. So these are my questions:
How can I embed arrows to the moveable in the right way? How can I trigger guidelines and snappable after manually moveable.request() call?
I have the same question!