{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/4009","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/4009/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/4009/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/4009/events","html_url":"https://github.com/driftyco/ionic/issues/4009","id":91956273,"number":4009,"title":"Swipe-to-go-back: on cancel event","user":{"login":"michielvandergeest","id":8299035,"avatar_url":"https://avatars.githubusercontent.com/u/8299035?v=3","gravatar_id":"","url":"https://api.github.com/users/michielvandergeest","html_url":"https://github.com/michielvandergeest","followers_url":"https://api.github.com/users/michielvandergeest/followers","following_url":"https://api.github.com/users/michielvandergeest/following{/other_user}","gists_url":"https://api.github.com/users/michielvandergeest/gists{/gist_id}","starred_url":"https://api.github.com/users/michielvandergeest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michielvandergeest/subscriptions","organizations_url":"https://api.github.com/users/michielvandergeest/orgs","repos_url":"https://api.github.com/users/michielvandergeest/repos","events_url":"https://api.github.com/users/michielvandergeest/events{/privacy}","received_events_url":"https://api.github.com/users/michielvandergeest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-30T02:04:32Z","updated_at":"2015-06-30T02:04:33Z","closed_at":null,"body":"It would be really useful if the swipe-to-right functionality would fire an event when the swipe is canceled (i.e. when the user didn't complete the full swipe and it went back to showing the original view).\r\n\r\nRight now we can capture the start event by listening for $ionicView.beforeLeave, but in the docs or the source code I wasn't able to find an event that triggers after a swipe to go back has been canceled. Since an uncompleted swipe to go back it doesn't trigger a new  $ionicView.enter event, we have no way of knowing when this event occurs.\r\n\r\nIdeally we would have dedicated events for all states of the swipe to go back: on start, on completed, on canceled, maybe even on paused (when a user holds the swipe still)."},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/116912533","html_url":"https://github.com/driftyco/ionic/issues/4009#issuecomment-116912533","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/4009","id":116912533,"user":{"login":"Ionitron","id":6591344,"avatar_url":"https://avatars.githubusercontent.com/u/6591344?v=3","gravatar_id":"","url":"https://api.github.com/users/Ionitron","html_url":"https://github.com/Ionitron","followers_url":"https://api.github.com/users/Ionitron/followers","following_url":"https://api.github.com/users/Ionitron/following{/other_user}","gists_url":"https://api.github.com/users/Ionitron/gists{/gist_id}","starred_url":"https://api.github.com/users/Ionitron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ionitron/subscriptions","organizations_url":"https://api.github.com/users/Ionitron/orgs","repos_url":"https://api.github.com/users/Ionitron/repos","events_url":"https://api.github.com/users/Ionitron/events{/privacy}","received_events_url":"https://api.github.com/users/Ionitron/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T02:04:32Z","updated_at":"2015-06-30T02:04:32Z","body":"Greetings @michielvandergeest!\n\nMy sensors indicate that you need to update your issue through our [custom issue form](http://ionicframework.com/submit-issue/#/?iid=4009). We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.\n\n**[Click Here To Update Your Issue](http://ionicframework.com/submit-issue/#/?iid=4009)**\n\nI will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.\n\nThank you!\n\n<span ionitron-issue-resubmit></span>"}}