{"action":"created","issue":{"url":"https://api.github.com/repos/uacaps/PageMenu/issues/9","labels_url":"https://api.github.com/repos/uacaps/PageMenu/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/uacaps/PageMenu/issues/9/comments","events_url":"https://api.github.com/repos/uacaps/PageMenu/issues/9/events","html_url":"https://github.com/uacaps/PageMenu/issues/9","id":55821161,"number":9,"title":"Feature request - event callbacks","user":{"login":"jyounus","id":1123124,"avatar_url":"https://avatars.githubusercontent.com/u/1123124?v=3","gravatar_id":"","url":"https://api.github.com/users/jyounus","html_url":"https://github.com/jyounus","followers_url":"https://api.github.com/users/jyounus/followers","following_url":"https://api.github.com/users/jyounus/following{/other_user}","gists_url":"https://api.github.com/users/jyounus/gists{/gist_id}","starred_url":"https://api.github.com/users/jyounus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyounus/subscriptions","organizations_url":"https://api.github.com/users/jyounus/orgs","repos_url":"https://api.github.com/users/jyounus/repos","events_url":"https://api.github.com/users/jyounus/events{/privacy}","received_events_url":"https://api.github.com/users/jyounus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T21:51:49Z","updated_at":"2015-01-28T21:55:53Z","closed_at":null,"body":"Hi there,\r\n\r\nI have a suggestion for this awesome little git project. Event callbacks/delegates/closure calls (whatever you want to call it) for when the app displays a page. \r\n\r\nSo lets say we have page A, page B and page C. If A is active and user taps on page C, after the animation has finished, fire this 'callback' function to do any necessary updates (i.e. updating the colour of the navigation bar based on the active page in a different view controller file). Same would apply if the user simply scrolled left or right, fire/call the appropriate thing and make sure to pass back the reference of the active page that the user scrolled to.\r\n\r\nWould be really useful, at least for me. :)"},"comment":{"url":"https://api.github.com/repos/uacaps/PageMenu/issues/comments/71924772","html_url":"https://github.com/uacaps/PageMenu/issues/9#issuecomment-71924772","issue_url":"https://api.github.com/repos/uacaps/PageMenu/issues/9","id":71924772,"user":{"login":"fahlout","id":6654714,"avatar_url":"https://avatars.githubusercontent.com/u/6654714?v=3","gravatar_id":"","url":"https://api.github.com/users/fahlout","html_url":"https://github.com/fahlout","followers_url":"https://api.github.com/users/fahlout/followers","following_url":"https://api.github.com/users/fahlout/following{/other_user}","gists_url":"https://api.github.com/users/fahlout/gists{/gist_id}","starred_url":"https://api.github.com/users/fahlout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fahlout/subscriptions","organizations_url":"https://api.github.com/users/fahlout/orgs","repos_url":"https://api.github.com/users/fahlout/repos","events_url":"https://api.github.com/users/fahlout/events{/privacy}","received_events_url":"https://api.github.com/users/fahlout/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T21:55:53Z","updated_at":"2015-01-28T21:55:53Z","body":"I agree, it would be a very helpful feature. I will start working on it tomorrow. Currently I am working on some small setup improvements, so once that is done I will start on this. Should be available within the next couple days.\r\n\r\nThanks for your feedback and I'm glad you're enjoying the library :)"}}