{"action":"opened","issue":{"url":"https://api.github.com/repos/requireio/custom-element/issues/4","labels_url":"https://api.github.com/repos/requireio/custom-element/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/requireio/custom-element/issues/4/comments","events_url":"https://api.github.com/repos/requireio/custom-element/issues/4/events","html_url":"https://github.com/requireio/custom-element/issues/4","id":65981172,"number":4,"title":"extending the prototype of an existing custom element should copy over the listeners","user":{"login":"yoshuawuyts","id":2467194,"avatar_url":"https://avatars.githubusercontent.com/u/2467194?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-02T18:10:52Z","updated_at":"2015-04-02T18:10:52Z","closed_at":null,"body":"When extending an existing custom element, it'd be rad if the existing listeners would be copied over to the `.on` structure rather than being destroyed. That way it's possible to infinitely extend custom components, even if they're not initially set up with `custom-element`. \r\n\r\nThe use case I'm picturing for this is having generic components that are self-contained and are just concerned with updating the component itself, and once you use them in an application you can attach glue code listeners that can listen to changes in other parts of your application. Think that would be a neat separation of concerns, hah.\r\n\r\nI'm basing this assumption off reading the code, not verified yet so apologies if I'm opening a redundant issue, hah."}}