{"action":"created","issue":{"url":"https://api.github.com/repos/Foxandxss/angular-toastr/issues/138","labels_url":"https://api.github.com/repos/Foxandxss/angular-toastr/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/Foxandxss/angular-toastr/issues/138/comments","events_url":"https://api.github.com/repos/Foxandxss/angular-toastr/issues/138/events","html_url":"https://github.com/Foxandxss/angular-toastr/issues/138","id":116525677,"number":138,"title":"Access toast in custom callbacks","user":{"login":"TristanPouliquen","id":9153231,"avatar_url":"https://avatars.githubusercontent.com/u/9153231?v=3","gravatar_id":"","url":"https://api.github.com/users/TristanPouliquen","html_url":"https://github.com/TristanPouliquen","followers_url":"https://api.github.com/users/TristanPouliquen/followers","following_url":"https://api.github.com/users/TristanPouliquen/following{/other_user}","gists_url":"https://api.github.com/users/TristanPouliquen/gists{/gist_id}","starred_url":"https://api.github.com/users/TristanPouliquen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TristanPouliquen/subscriptions","organizations_url":"https://api.github.com/users/TristanPouliquen/orgs","repos_url":"https://api.github.com/users/TristanPouliquen/repos","events_url":"https://api.github.com/users/TristanPouliquen/events{/privacy}","received_events_url":"https://api.github.com/users/TristanPouliquen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-12T10:51:34Z","updated_at":"2015-11-12T13:33:52Z","closed_at":"2015-11-12T13:33:42Z","body":"Hi,\r\n\r\nI'm actually implementing this library that works like a charm and gives great visual results !\r\n\r\nMy problem is : \r\n\r\nI want to create a toast whenever a user removes one item to give him the chance to undo this deletion for some time by tapping on the toast (via the onTap callback).\r\n\r\nHowever, I haven't found a way to pass to my callbacks which toast was tapped, or to access the toast list and do a custom function that parses them all to find mine (based on content for example) [a much less satisfying option].\r\n\r\nIs there a way to access which toast was clicked ? (I haven't found it in my searches in your code)"},"comment":{"url":"https://api.github.com/repos/Foxandxss/angular-toastr/issues/comments/156103154","html_url":"https://github.com/Foxandxss/angular-toastr/issues/138#issuecomment-156103154","issue_url":"https://api.github.com/repos/Foxandxss/angular-toastr/issues/138","id":156103154,"user":{"login":"Foxandxss","id":1087957,"avatar_url":"https://avatars.githubusercontent.com/u/1087957?v=3","gravatar_id":"","url":"https://api.github.com/users/Foxandxss","html_url":"https://github.com/Foxandxss","followers_url":"https://api.github.com/users/Foxandxss/followers","following_url":"https://api.github.com/users/Foxandxss/following{/other_user}","gists_url":"https://api.github.com/users/Foxandxss/gists{/gist_id}","starred_url":"https://api.github.com/users/Foxandxss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Foxandxss/subscriptions","organizations_url":"https://api.github.com/users/Foxandxss/orgs","repos_url":"https://api.github.com/users/Foxandxss/repos","events_url":"https://api.github.com/users/Foxandxss/events{/privacy}","received_events_url":"https://api.github.com/users/Foxandxss/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T13:33:52Z","updated_at":"2015-11-12T13:33:52Z","body":"Fixed it, will push a release in a bit."}}