{"action":"created","issue":{"url":"https://api.github.com/repos/noraesae/perfect-scrollbar/issues/440","labels_url":"https://api.github.com/repos/noraesae/perfect-scrollbar/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/noraesae/perfect-scrollbar/issues/440/comments","events_url":"https://api.github.com/repos/noraesae/perfect-scrollbar/issues/440/events","html_url":"https://github.com/noraesae/perfect-scrollbar/issues/440","id":125224841,"number":440,"title":"ps-scroll-y not being raised?","user":{"login":"phillip-haydon","id":895629,"avatar_url":"https://avatars.githubusercontent.com/u/895629?v=3","gravatar_id":"","url":"https://api.github.com/users/phillip-haydon","html_url":"https://github.com/phillip-haydon","followers_url":"https://api.github.com/users/phillip-haydon/followers","following_url":"https://api.github.com/users/phillip-haydon/following{/other_user}","gists_url":"https://api.github.com/users/phillip-haydon/gists{/gist_id}","starred_url":"https://api.github.com/users/phillip-haydon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillip-haydon/subscriptions","organizations_url":"https://api.github.com/users/phillip-haydon/orgs","repos_url":"https://api.github.com/users/phillip-haydon/repos","events_url":"https://api.github.com/users/phillip-haydon/events{/privacy}","received_events_url":"https://api.github.com/users/phillip-haydon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-06T17:35:20Z","updated_at":"2016-01-08T12:14:25Z","closed_at":"2016-01-08T12:14:24Z","body":"Unsure if this is an issue or not, or just confusion from reading documents.\r\n\r\nEverything works absolutely perfectly, except events. No events for me ever get raised (the `ps-` events.)\r\n\r\nIf I try to attach the events to the object initialized, or the document, neither ever raise any events. In Chrome or Firefox. \r\n\r\n```\r\nPs.initialize(scroller, {\r\n    wheelSpeed: 2,\r\n    wheelPropagation: false,\r\n    minScrollbarLength: 20\r\n});\r\n\r\nscroller.addEventListener('ps-scroll-y', function() {\r\n    console.log('test1');\r\n});\r\ndocument.addEventListener('ps-scroll-y', function() {\r\n    console.log('test2');\r\n});\r\n```\r\n\r\nThis doesn't work at all."},"comment":{"url":"https://api.github.com/repos/noraesae/perfect-scrollbar/issues/comments/169982817","html_url":"https://github.com/noraesae/perfect-scrollbar/issues/440#issuecomment-169982817","issue_url":"https://api.github.com/repos/noraesae/perfect-scrollbar/issues/440","id":169982817,"user":{"login":"phillip-haydon","id":895629,"avatar_url":"https://avatars.githubusercontent.com/u/895629?v=3","gravatar_id":"","url":"https://api.github.com/users/phillip-haydon","html_url":"https://github.com/phillip-haydon","followers_url":"https://api.github.com/users/phillip-haydon/followers","following_url":"https://api.github.com/users/phillip-haydon/following{/other_user}","gists_url":"https://api.github.com/users/phillip-haydon/gists{/gist_id}","starred_url":"https://api.github.com/users/phillip-haydon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillip-haydon/subscriptions","organizations_url":"https://api.github.com/users/phillip-haydon/orgs","repos_url":"https://api.github.com/users/phillip-haydon/repos","events_url":"https://api.github.com/users/phillip-haydon/events{/privacy}","received_events_url":"https://api.github.com/users/phillip-haydon/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T12:14:24Z","updated_at":"2016-01-08T12:14:24Z","body":"perfect-scroll.js\r\n\r\nTrying hard to ditch jquery, got 1 dependency left on jquery to convert. :) (I don't support IE 10 or below)"}}