{"action":"opened","issue":{"url":"https://api.github.com/repos/thx/brix-components/issues/55","repository_url":"https://api.github.com/repos/thx/brix-components","labels_url":"https://api.github.com/repos/thx/brix-components/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/thx/brix-components/issues/55/comments","events_url":"https://api.github.com/repos/thx/brix-components/issues/55/events","html_url":"https://github.com/thx/brix-components/issues/55","id":156708699,"number":55,"title":"Dropdown：支持 .disabled() 方法","user":{"login":"nuysoft","id":1628538,"avatar_url":"https://avatars.githubusercontent.com/u/1628538?v=3","gravatar_id":"","url":"https://api.github.com/users/nuysoft","html_url":"https://github.com/nuysoft","followers_url":"https://api.github.com/users/nuysoft/followers","following_url":"https://api.github.com/users/nuysoft/following{/other_user}","gists_url":"https://api.github.com/users/nuysoft/gists{/gist_id}","starred_url":"https://api.github.com/users/nuysoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuysoft/subscriptions","organizations_url":"https://api.github.com/users/nuysoft/orgs","repos_url":"https://api.github.com/users/nuysoft/repos","events_url":"https://api.github.com/users/nuysoft/events{/privacy}","received_events_url":"https://api.github.com/users/nuysoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-25T09:52:53Z","updated_at":"2016-05-25T09:52:53Z","closed_at":null,"body":"```js\r\nvar Dropdown = require('components/dropdown')\r\nDropdown.prototype.disabled = function(value) {\r\n    if (value === undefined) return this.options.disabled\r\n    this.options.disabled = value\r\n    this.$element.prop('disabled', value)\r\n    this.$relatedElement[value ? 'addClass' : 'removeClass']('disabled')\r\n    return this\r\n}\r\n```"}}
{"actor":{"display_login":"nuysoft"}}