Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access widget size and position with custom item map #481

Open
capitanjacksparrow opened this issue Apr 20, 2017 · 0 comments
Open

access widget size and position with custom item map #481

capitanjacksparrow opened this issue Apr 20, 2017 · 0 comments

Comments

@capitanjacksparrow
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant