angular2-draggable
angular2-draggable copied to clipboard
New event rzBeforeStart is required
Hi @xieziyu
I neen a new event rzBeforeStart. The event should occur at the very begining of resize process. I try to customize Angular Material dialog to make it resizable. Since the dialod is not positioned absolutly, I try to do the following: on resize start I set the dialog position to absolute and change top and left properties of the dialog. But at this moment the resize directive has already saved the element's position to properties _currPos and _origPos which doesn't allow the directive resize the element correctly. It looks like a new event rzBeforeStart can solve the problem and can be usefull in other cases when you need to change the element being resized before resizing.
Thanks