{"action":"created","issue":{"url":"https://api.github.com/repos/picturae/openseadragonselection/issues/16","repository_url":"https://api.github.com/repos/picturae/openseadragonselection","labels_url":"https://api.github.com/repos/picturae/openseadragonselection/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/picturae/openseadragonselection/issues/16/comments","events_url":"https://api.github.com/repos/picturae/openseadragonselection/issues/16/events","html_url":"https://github.com/picturae/openseadragonselection/issues/16","id":180579892,"number":16,"title":"on selection Enable callback","user":{"login":"rubystars","id":4488311,"avatar_url":"https://avatars.githubusercontent.com/u/4488311?v=3","gravatar_id":"","url":"https://api.github.com/users/rubystars","html_url":"https://github.com/rubystars","followers_url":"https://api.github.com/users/rubystars/followers","following_url":"https://api.github.com/users/rubystars/following{/other_user}","gists_url":"https://api.github.com/users/rubystars/gists{/gist_id}","starred_url":"https://api.github.com/users/rubystars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubystars/subscriptions","organizations_url":"https://api.github.com/users/rubystars/orgs","repos_url":"https://api.github.com/users/rubystars/repos","events_url":"https://api.github.com/users/rubystars/events{/privacy}","received_events_url":"https://api.github.com/users/rubystars/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-03T07:44:27Z","updated_at":"2016-10-03T07:51:11Z","closed_at":null,"body":"I'd like to respond to the on selection Enable callback (when the user clicks the selection button) , is there an event I can respond to? \r\n\r\nThanks "},"comment":{"url":"https://api.github.com/repos/picturae/openseadragonselection/issues/comments/251046233","html_url":"https://github.com/picturae/openseadragonselection/issues/16#issuecomment-251046233","issue_url":"https://api.github.com/repos/picturae/openseadragonselection/issues/16","id":251046233,"user":{"login":"MindFreeze","id":5219205,"avatar_url":"https://avatars.githubusercontent.com/u/5219205?v=3","gravatar_id":"","url":"https://api.github.com/users/MindFreeze","html_url":"https://github.com/MindFreeze","followers_url":"https://api.github.com/users/MindFreeze/followers","following_url":"https://api.github.com/users/MindFreeze/following{/other_user}","gists_url":"https://api.github.com/users/MindFreeze/gists{/gist_id}","starred_url":"https://api.github.com/users/MindFreeze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MindFreeze/subscriptions","organizations_url":"https://api.github.com/users/MindFreeze/orgs","repos_url":"https://api.github.com/users/MindFreeze/repos","events_url":"https://api.github.com/users/MindFreeze/events{/privacy}","received_events_url":"https://api.github.com/users/MindFreeze/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T07:51:11Z","updated_at":"2016-10-03T07:51:11Z","body":"The plugin does:\r\n`this.viewer.raiseEvent('selection_toggle', {enabled: enabled});`\r\nSo you can subscribe to the 'selection_toggle' event on the viewer and check the 'enabled' property in the event data.\r\n"}}
{"actor":{"display_login":"MindFreeze"}}