ManifestWebDesign / angular-gridster

An implementation of gridster-like widgets for Angular JS
http://manifestwebdesign.github.io/angular-gridster/
MIT License
964 stars 394 forks source link

Added new resize & drag events #459

Open ste2425 opened 7 years ago

ste2425 commented 7 years ago

Adding new events:

Resize Start Resize End Drag start Drag End

Note: The end events are triggered before the transition animations complete, when the user lifts the mouse button.

There are currently callback for these events but this are at a global level to the Gridster Items.

For Project i need to be notified within the scope of the Gridtser-Item directive of these activities. This provides the neatest solution to that.

Thanks

ste2425 commented 7 years ago

I noticed i had written the drag-end event wrong in the readme. I can squash the commits together if required. However I'm not too sure what that would mean for the PR. Would i need to close and recreate it, or can i force push and it will sort itself out?

prettycode commented 7 years ago

+1 Would love to see this merged!