Skip to content
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

Add $listeners to translate component #110

Open
HenryLie opened this issue Mar 23, 2020 · 0 comments
Open

Add $listeners to translate component #110

HenryLie opened this issue Mar 23, 2020 · 0 comments

Comments

@HenryLie
Copy link

Right now, to attach an event to the translate component, we need to use the .native modifier.

Probably it will be better if the component can pass $listeners to the root element instead, since the user can modify the root element with tag attribute? This will allow us to attach event listeners without having to remember to add the .native modifier.

I can try making a PR if this idea is accepted.

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

No branches or pull requests

1 participant