{"action":"closed","issue":{"url":"https://api.github.com/repos/capsidjs/capsid/issues/95","repository_url":"https://api.github.com/repos/capsidjs/capsid","labels_url":"https://api.github.com/repos/capsidjs/capsid/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/capsidjs/capsid/issues/95/comments","events_url":"https://api.github.com/repos/capsidjs/capsid/issues/95/events","html_url":"https://github.com/capsidjs/capsid/issues/95","id":312219939,"number":95,"title":"unmount","user":{"login":"kt3k","id":613956,"avatar_url":"https://avatars0.githubusercontent.com/u/613956?v=4","gravatar_id":"","url":"https://api.github.com/users/kt3k","html_url":"https://github.com/kt3k","followers_url":"https://api.github.com/users/kt3k/followers","following_url":"https://api.github.com/users/kt3k/following{/other_user}","gists_url":"https://api.github.com/users/kt3k/gists{/gist_id}","starred_url":"https://api.github.com/users/kt3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kt3k/subscriptions","organizations_url":"https://api.github.com/users/kt3k/orgs","repos_url":"https://api.github.com/users/kt3k/repos","events_url":"https://api.github.com/users/kt3k/events{/privacy}","received_events_url":"https://api.github.com/users/kt3k/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-07T16:08:32Z","updated_at":"2018-04-08T07:33:48Z","closed_at":"2018-04-08T07:33:48Z","author_association":"OWNER","body":"- we need unmount API\r\n\r\nUse case\r\n\r\n```js\r\n@component('pure')\r\nclass Pure {\r\n  @on('input')\r\n  @on('change')\r\n  inpure () {\r\n    unmount('pure', this.el)\r\n  }\r\n}\r\n```\r\n\r\nImplementation is something like:\r\n\r\n```js\r\nel.classList.remove(classnName)\r\nlisteners.forEach(listener => el.removeEventListener(listener.event, listener))\r\n```"}}
{"actor":{"display_login":"kt3k"}}