[ANGULAR] Detect which side is used for Resize
Hello Bryntum Team,
i am implementing the resize functionality for our events. Depending on which event-handle (left or right) the resizing is initiated with, different things should happen. However, i can not find a proper way to detect which handle is used for the resizing.
My work around so far is to check the "event.offsetX" (of the browser event, e.g. in the onBeforeEventResize) which gives me difference in pixels between the left edge of the actually rendered event and whereever my mouse position was when resize was initiated.
However, this workaround isn't really reliable regarding resolution and zoom changes.
Is there a proper way to detect, which handle the resizing was initiated with?