Skip to content

Commit

Permalink
Merge pull request #835 from Worklio/release/v0.3.0
Browse files Browse the repository at this point in the history
added "gsresize" trigger
  • Loading branch information
radiolips authored May 25, 2018
2 parents f623a4d + 5917d51 commit 7d9ac26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gridstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,10 @@
node.lastTriedHeight = height;
self.grid.moveNode(node, x, y, width, height);
self._updateContainerHeight();

if (event.type == 'resize') {
$(event.target).trigger('gsresize', node);
}
};

var onStartMoving = function(event, ui) {
Expand Down

0 comments on commit 7d9ac26

Please sign in to comment.