-
Notifications
You must be signed in to change notification settings - Fork 390
Open
Description
When using a custom item map, the "widget" passed to the resize function is the map, rather than the original source object. For example, using the demo script.js, and adding:
resize: function(event, $element, widget) {
console.log("in resizeable.resize", widget);
}to the resizable config. When doing a resize, the output is:
in resizeable.resize Object {sizeX: "item.size.x", sizeY: "item.size.y", row: "item.position[0]", col: "item.position[1]"}
I would think it should be the actual object, as defined in $scope.customItems[n]. For example:
{
size: {x: 2, y: 1 },
position: [0, 0]
}I think this applies to the other callbacks, as well.
Metadata
Metadata
Assignees
Labels
No labels