Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

give @Listen an option to look in shadowRoot as default instead of in lightDOM #2

Closed
emolr opened this issue Feb 5, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@emolr
Copy link
Member

emolr commented Feb 5, 2018

Depending on the usecase a component could listen for events in shadowRoot (normal use case with complex components).

But a component should also be able to listen for events that comes from slotted content.

So @listen should be changed into listening in shadowDom by default, and should query fro itself to listen in lightDOM

@emolr emolr added the bug Something isn't working label Feb 5, 2018
@emolr emolr closed this as completed in 3271aba Feb 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant