{"action":"created","issue":{"url":"https://api.github.com/repos/Telerik-Verified-Plugins/NativePageTransitions/issues/151","repository_url":"https://api.github.com/repos/Telerik-Verified-Plugins/NativePageTransitions","labels_url":"https://api.github.com/repos/Telerik-Verified-Plugins/NativePageTransitions/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/Telerik-Verified-Plugins/NativePageTransitions/issues/151/comments","events_url":"https://api.github.com/repos/Telerik-Verified-Plugins/NativePageTransitions/issues/151/events","html_url":"https://github.com/Telerik-Verified-Plugins/NativePageTransitions/issues/151","id":176353635,"number":151,"title":"View changes before the animation starts. (ionic)","user":{"login":"distante","id":5490201,"avatar_url":"https://avatars.githubusercontent.com/u/5490201?v=3","gravatar_id":"","url":"https://api.github.com/users/distante","html_url":"https://github.com/distante","followers_url":"https://api.github.com/users/distante/followers","following_url":"https://api.github.com/users/distante/following{/other_user}","gists_url":"https://api.github.com/users/distante/gists{/gist_id}","starred_url":"https://api.github.com/users/distante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/distante/subscriptions","organizations_url":"https://api.github.com/users/distante/orgs","repos_url":"https://api.github.com/users/distante/repos","events_url":"https://api.github.com/users/distante/events{/privacy}","received_events_url":"https://api.github.com/users/distante/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-12T11:32:57Z","updated_at":"2016-10-21T05:57:55Z","closed_at":null,"body":"I'm using Native Page Transitions  for a couple of \"special\" transitions (slide up/down) in a determinate view.\r\n\r\nTo avoid the default transition animation, I stop the regular animation programmatically before $state.go\r\n\r\n```\r\n$ionicHistory.nextViewOptions({\r\n    \t\t\t    disableAnimate: true\r\n    \t\t\t});\r\n$state.go('app.browser', {externalURL: link.href});\r\n```\r\nthen, in my controller I choose the animation I want with $ionicView.beforeEnter\r\n\r\n```\r\n$scope.$on('$ionicView.beforeEnter', function() {/ animate things on devices\r\n            window.plugins.nativepagetransitions.slide(\r\n              {\"direction\":\"up\"},\r\n                    function (msg) { \r\n                        console.log(\"success: \" + msg);\r\n                    },\r\n                    function (msg) {\r\n                        alert(\"error: \" + msg);\r\n                    }\r\n            );\r\n        });\r\n```\r\nIt works but I see how the contents of the view changes before the animation gets triggered. Is there a way to delay this change? There is a option for this? I'm setting something wrong?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Telerik-Verified-Plugins/NativePageTransitions/issues/comments/255300362","html_url":"https://github.com/Telerik-Verified-Plugins/NativePageTransitions/issues/151#issuecomment-255300362","issue_url":"https://api.github.com/repos/Telerik-Verified-Plugins/NativePageTransitions/issues/151","id":255300362,"user":{"login":"EddyVerbruggen","id":1426370,"avatar_url":"https://avatars.githubusercontent.com/u/1426370?v=3","gravatar_id":"","url":"https://api.github.com/users/EddyVerbruggen","html_url":"https://github.com/EddyVerbruggen","followers_url":"https://api.github.com/users/EddyVerbruggen/followers","following_url":"https://api.github.com/users/EddyVerbruggen/following{/other_user}","gists_url":"https://api.github.com/users/EddyVerbruggen/gists{/gist_id}","starred_url":"https://api.github.com/users/EddyVerbruggen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EddyVerbruggen/subscriptions","organizations_url":"https://api.github.com/users/EddyVerbruggen/orgs","repos_url":"https://api.github.com/users/EddyVerbruggen/repos","events_url":"https://api.github.com/users/EddyVerbruggen/events{/privacy}","received_events_url":"https://api.github.com/users/EddyVerbruggen/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T05:57:55Z","updated_at":"2016-10-21T05:57:55Z","body":"What happens if you set the href param on the plugin and don't let state.go animate?"}}
{"actor":{"display_login":"EddyVerbruggen"}}