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.
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 withtag
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.