{"action":"created","issue":{"url":"https://api.github.com/repos/Popmotion/popmotion/issues/89","labels_url":"https://api.github.com/repos/Popmotion/popmotion/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/Popmotion/popmotion/issues/89/comments","events_url":"https://api.github.com/repos/Popmotion/popmotion/issues/89/events","html_url":"https://github.com/Popmotion/popmotion/issues/89","id":110018809,"number":89,"title":"Can't get 'watch' to work","user":{"login":"mkraessig","id":63190,"avatar_url":"https://avatars.githubusercontent.com/u/63190?v=3","gravatar_id":"","url":"https://api.github.com/users/mkraessig","html_url":"https://github.com/mkraessig","followers_url":"https://api.github.com/users/mkraessig/followers","following_url":"https://api.github.com/users/mkraessig/following{/other_user}","gists_url":"https://api.github.com/users/mkraessig/gists{/gist_id}","starred_url":"https://api.github.com/users/mkraessig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkraessig/subscriptions","organizations_url":"https://api.github.com/users/mkraessig/orgs","repos_url":"https://api.github.com/users/mkraessig/repos","events_url":"https://api.github.com/users/mkraessig/events{/privacy}","received_events_url":"https://api.github.com/users/mkraessig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T14:24:58Z","updated_at":"2015-10-06T14:29:15Z","closed_at":null,"body":"Hi there,\r\n\r\nI really like what you've been doing with Popmotion!\r\nSo far it's been a breeze to work with, just one thing: I can't get the watch-property to work.\r\n\r\nWhat are some potential reasons? As far as I can see I am doing everything as specified.\r\n\r\n```javascript\r\nvar handle = new ui.Actor({\r\n\telement: '.' + styles.testObject,\r\n\tvalues: {\r\n\t\tiris: {\r\n\t\t\twatch: 'x'\r\n\t\t}\r\n\t},\r\n\tonUpdate: function (output){\r\n\t\tconsole.log(output.iris)\r\n\t}\r\n})\r\n\t\t\r\nvar horizontal = new ui.Track({\r\n\tvalues: {\r\n\t\tx: {}\r\n\t}\r\n})\r\n```\r\n\r\nThe `x` value is output correctly, but the `iris` just stays 0, no matter what I do.\r\nIn case that might be relevant, I am using React.\r\n\r\nPerhaps you have an idea?\r\n\r\nThanks a bunch,\r\n— Maxi\r\n"},"comment":{"url":"https://api.github.com/repos/Popmotion/popmotion/issues/comments/145873336","html_url":"https://github.com/Popmotion/popmotion/issues/89#issuecomment-145873336","issue_url":"https://api.github.com/repos/Popmotion/popmotion/issues/89","id":145873336,"user":{"login":"InventingWithMonster","id":7850794,"avatar_url":"https://avatars.githubusercontent.com/u/7850794?v=3","gravatar_id":"","url":"https://api.github.com/users/InventingWithMonster","html_url":"https://github.com/InventingWithMonster","followers_url":"https://api.github.com/users/InventingWithMonster/followers","following_url":"https://api.github.com/users/InventingWithMonster/following{/other_user}","gists_url":"https://api.github.com/users/InventingWithMonster/gists{/gist_id}","starred_url":"https://api.github.com/users/InventingWithMonster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InventingWithMonster/subscriptions","organizations_url":"https://api.github.com/users/InventingWithMonster/orgs","repos_url":"https://api.github.com/users/InventingWithMonster/repos","events_url":"https://api.github.com/users/InventingWithMonster/events{/privacy}","received_events_url":"https://api.github.com/users/InventingWithMonster/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T14:29:15Z","updated_at":"2015-10-06T14:29:15Z","body":"Hey @mkraessig Can I check which version you're using? Also I see the two definitions should correct there but could you also confirm you're passing the mouse event to the `start` function like this (or with your framework/non-framework of choice):\r\n\r\n    $('body').on('mousedown', yourElement, function (event) {\r\n        handle.start(horizontal, event);\r\n    })\r\n\r\n"}}