{"action":"opened","issue":{"url":"https://api.github.com/repos/swiety85/angular2gridster/issues/116","repository_url":"https://api.github.com/repos/swiety85/angular2gridster","labels_url":"https://api.github.com/repos/swiety85/angular2gridster/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/swiety85/angular2gridster/issues/116/comments","events_url":"https://api.github.com/repos/swiety85/angular2gridster/issues/116/events","html_url":"https://github.com/swiety85/angular2gridster/issues/116","id":265281264,"number":116,"title":"Position two-way databinding","user":{"login":"gentle9","id":19555090,"avatar_url":"https://avatars1.githubusercontent.com/u/19555090?v=4","gravatar_id":"","url":"https://api.github.com/users/gentle9","html_url":"https://github.com/gentle9","followers_url":"https://api.github.com/users/gentle9/followers","following_url":"https://api.github.com/users/gentle9/following{/other_user}","gists_url":"https://api.github.com/users/gentle9/gists{/gist_id}","starred_url":"https://api.github.com/users/gentle9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentle9/subscriptions","organizations_url":"https://api.github.com/users/gentle9/orgs","repos_url":"https://api.github.com/users/gentle9/repos","events_url":"https://api.github.com/users/gentle9/events{/privacy}","received_events_url":"https://api.github.com/users/gentle9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-13T13:01:30Z","updated_at":"2017-10-13T13:01:30Z","closed_at":null,"author_association":"NONE","body":"I am trying to save the state of gridster to a file. For that I need the positions and size.\r\nThe two-way databinding is working for the size but for the position the value is not changed after the position was changed.\r\nI have a changeEvent which is triggered correctly. In this function I am printing out the widgets array to see what has changed.\r\nWhen I change the size of a widget the value of w and h is changed correctly in the array. But when I change the position of the widget the value of x and y is not changed at all.\r\n\r\nThis is my Widgets array.\r\n```\r\nwidgets:any = [\r\n    {\r\n        x: 0, y: 0, w: 1, h: 2,\r\n        title: 'Basic form inputs 1',\r\n        content: 'Widget content'\r\n    }\r\n]\r\n```"}}
{"actor":{"display_login":"gentle9"}}