Skip to content

Add listenOnEl prop #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

Add listenOnEl prop #25

wants to merge 13 commits into from

Conversation

sarink
Copy link
Contributor

@sarink sarink commented Oct 12, 2020

Relevant lines to review:

Adds a listenOnEl prop to allow the consumer to specify which element to listen on for events. In my use case, I want to hydrate as soon as an event happens anywhere on the document, rather than on the child element.

Pairs nicely with the new noWrapper prop.

This is currently in draft mode because it depends on some of the other PRs I submitted (these lines will conflict with the changes in #24) , I can rebase it if it's reviewed/accepted. Until then, I'll be using it on my fork

@sarink sarink marked this pull request as draft October 12, 2020 18:09
@sarink
Copy link
Contributor Author

sarink commented Dec 2, 2020

@ScriptedAlchemy i think you meant to review this PR instead #24 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants