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

access widget size and position with custom item map #481

Open capitanjacksparrow opened 7 years ago

capitanjacksparrow commented 7 years ago

Hi, I'm using a custom item map to draw widgets on my dashboard:

$scope.customItemMap = { sizeX: 'widget.size[0]', sizeY: 'widget.size[1]', row: 'widget.position[0]', col: 'widget.position[1]' };

Is there a way to use the stop callback of the resizable (or draggable) property to get the new widget size or position? I found issue #213 addressing this problem, but the discussion wasn't helpful for me.