{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/8607","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/8607/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/8607/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/8607/events","html_url":"https://github.com/yiisoft/yii2/issues/8607","id":82443241,"number":8607,"title":"yii\\jui\\Spinner clientEvents","user":{"login":"sjaakp","id":5585878,"avatar_url":"https://avatars.githubusercontent.com/u/5585878?v=3","gravatar_id":"","url":"https://api.github.com/users/sjaakp","html_url":"https://github.com/sjaakp","followers_url":"https://api.github.com/users/sjaakp/followers","following_url":"https://api.github.com/users/sjaakp/following{/other_user}","gists_url":"https://api.github.com/users/sjaakp/gists{/gist_id}","starred_url":"https://api.github.com/users/sjaakp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjaakp/subscriptions","organizations_url":"https://api.github.com/users/sjaakp/orgs","repos_url":"https://api.github.com/users/sjaakp/repos","events_url":"https://api.github.com/users/sjaakp/events{/privacy}","received_events_url":"https://api.github.com/users/sjaakp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/ext:jui","name":"ext:jui","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T14:07:40Z","updated_at":"2015-05-30T10:40:43Z","closed_at":"2015-05-30T10:40:43Z","body":"The only client event Yii2 listens to is 'spin'. The other events don't work as expected.\r\n\r\nFor instance, trying to catch the 'change' event by setting:\r\n\r\n            'clientEvents' => [\r\n                'change' => 'function(e, ui) { console.log(this); }'\r\n            ]\r\n\r\nResults in the following Js:\r\n\r\n           jQuery('#xxx').on('spinnerchange', function(e, ui) { console.log(this); });\r\n\r\nWhile it should be:\r\n\r\n           jQuery('#xxx').on('spinchange', function(e, ui) { console.log(this); });\r\n\r\nI suppose it has something to do with the protected property $clientEventMap."},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/107019857","html_url":"https://github.com/yiisoft/yii2/issues/8607#issuecomment-107019857","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/8607","id":107019857,"user":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T10:40:43Z","updated_at":"2015-05-30T10:40:43Z","body":"Fixed https://github.com/yiisoft/yii2-jui/commit/3d4f3d7d0e86af0e0b051a3660517f3041623ffa. Thanks!"}}