{"action":"created","issue":{"url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/27","labels_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/27/comments","events_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/27/events","html_url":"https://github.com/huei90/snap.svg.zpd/pull/27","id":57838352,"number":27,"title":"dragItems, panHandler, getDragItems and domElement","user":{"login":"greglbd","id":3083175,"avatar_url":"https://avatars.githubusercontent.com/u/3083175?v=3","gravatar_id":"","url":"https://api.github.com/users/greglbd","html_url":"https://github.com/greglbd","followers_url":"https://api.github.com/users/greglbd/followers","following_url":"https://api.github.com/users/greglbd/following{/other_user}","gists_url":"https://api.github.com/users/greglbd/gists{/gist_id}","starred_url":"https://api.github.com/users/greglbd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greglbd/subscriptions","organizations_url":"https://api.github.com/users/greglbd/orgs","repos_url":"https://api.github.com/users/greglbd/repos","events_url":"https://api.github.com/users/greglbd/events{/privacy}","received_events_url":"https://api.github.com/users/greglbd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-16T18:41:24Z","updated_at":"2015-02-27T00:29:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/huei90/snap.svg.zpd/pulls/27","html_url":"https://github.com/huei90/snap.svg.zpd/pull/27","diff_url":"https://github.com/huei90/snap.svg.zpd/pull/27.diff","patch_url":"https://github.com/huei90/snap.svg.zpd/pull/27.patch"},"body":"Added:\r\ndragItems: allows you to specify which items in zpd are draggable\r\npanHandler: true:false, sets the background layer as the only element that can pan the whole zpd object\r\n\r\ngetters:\r\ndomElement: quick access to the domElement - useful for easily adding and removing items from zpd\r\ngetDragItems: you can use this to get the current dragItems and add another item to the list then reinit.\r\n\r\nI also did a mini refactor of the code to make it a bit more readable."},"comment":{"url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/comments/76307155","html_url":"https://github.com/huei90/snap.svg.zpd/pull/27#issuecomment-76307155","issue_url":"https://api.github.com/repos/huei90/snap.svg.zpd/issues/27","id":76307155,"user":{"login":"cjgordon","id":2361050,"avatar_url":"https://avatars.githubusercontent.com/u/2361050?v=3","gravatar_id":"","url":"https://api.github.com/users/cjgordon","html_url":"https://github.com/cjgordon","followers_url":"https://api.github.com/users/cjgordon/followers","following_url":"https://api.github.com/users/cjgordon/following{/other_user}","gists_url":"https://api.github.com/users/cjgordon/gists{/gist_id}","starred_url":"https://api.github.com/users/cjgordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjgordon/subscriptions","organizations_url":"https://api.github.com/users/cjgordon/orgs","repos_url":"https://api.github.com/users/cjgordon/repos","events_url":"https://api.github.com/users/cjgordon/events{/privacy}","received_events_url":"https://api.github.com/users/cjgordon/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T00:29:11Z","updated_at":"2015-02-27T00:29:11Z","body":"I have been testing this as I have the same requirement. I have found however it currently can't drag groups which is a requirement for the complex icons I need to drag. \r\n\r\nI found this solution in the mean time:\r\nhttps://github.com/huei90/snap.svg.zpd/issues/24"}}