{"action":"created","issue":{"url":"https://api.github.com/repos/material-components/material-components-web/issues/357","repository_url":"https://api.github.com/repos/material-components/material-components-web","labels_url":"https://api.github.com/repos/material-components/material-components-web/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/material-components/material-components-web/issues/357/comments","events_url":"https://api.github.com/repos/material-components/material-components-web/issues/357/events","html_url":"https://github.com/material-components/material-components-web/issues/357","id":210245475,"number":357,"title":"Emit events for open/close drawer actions","user":{"login":"deviousasti","id":2375486,"avatar_url":"https://avatars1.githubusercontent.com/u/2375486?v=3","gravatar_id":"","url":"https://api.github.com/users/deviousasti","html_url":"https://github.com/deviousasti","followers_url":"https://api.github.com/users/deviousasti/followers","following_url":"https://api.github.com/users/deviousasti/following{/other_user}","gists_url":"https://api.github.com/users/deviousasti/gists{/gist_id}","starred_url":"https://api.github.com/users/deviousasti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deviousasti/subscriptions","organizations_url":"https://api.github.com/users/deviousasti/orgs","repos_url":"https://api.github.com/users/deviousasti/repos","events_url":"https://api.github.com/users/deviousasti/events{/privacy}","received_events_url":"https://api.github.com/users/deviousasti/received_events","type":"User","site_admin":false},"labels":[{"id":494904466,"url":"https://api.github.com/repos/material-components/material-components-web/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":495093973,"url":"https://api.github.com/repos/material-components/material-components-web/labels/in-tracker","name":"in-tracker","color":"CE5C17","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-02-25T16:38:23Z","updated_at":"2017-03-21T04:03:01Z","closed_at":null,"body":"I noticed that the event pattern is implemented in `MDCComponent`.\r\nIs there a plan for components to emit events?\r\n\r\nFor example,\r\n`MDCTemporaryDrawer` could emit an open/close event - this would allow quick integrations without implementing the foundation adapters, and wiring up event handlers is certainly easier.\r\n\r\nI was implementing mdc bindings for Knockout - and I have to subclass the `MDCTemporaryDrawerFoundation` just to get access to `open`/`close` in a non-hackish way.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/material-components/material-components-web/issues/comments/287971021","html_url":"https://github.com/material-components/material-components-web/issues/357#issuecomment-287971021","issue_url":"https://api.github.com/repos/material-components/material-components-web/issues/357","id":287971021,"user":{"login":"anton-kachurin","id":23388231,"avatar_url":"https://avatars0.githubusercontent.com/u/23388231?v=3","gravatar_id":"","url":"https://api.github.com/users/anton-kachurin","html_url":"https://github.com/anton-kachurin","followers_url":"https://api.github.com/users/anton-kachurin/followers","following_url":"https://api.github.com/users/anton-kachurin/following{/other_user}","gists_url":"https://api.github.com/users/anton-kachurin/gists{/gist_id}","starred_url":"https://api.github.com/users/anton-kachurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anton-kachurin/subscriptions","organizations_url":"https://api.github.com/users/anton-kachurin/orgs","repos_url":"https://api.github.com/users/anton-kachurin/repos","events_url":"https://api.github.com/users/anton-kachurin/events{/privacy}","received_events_url":"https://api.github.com/users/anton-kachurin/received_events","type":"User","site_admin":false},"created_at":"2017-03-21T04:03:01Z","updated_at":"2017-03-21T04:03:01Z","body":"If nobody is working on this issue at the moment, can I give it a shot? Currently writing a Knockout library based on MDC-Web, and don't want to use hacks for this component."}}
{"actor":{"display_login":"anton-kachurin"}}