Inherit events from component wrapper
Opened this issue ยท 2 comments
It would be helpful if I could attach events on component and it would respond to them. Right now component emits only "input" event. I would like to attach "blur" and "keyup.enter" events like this:
<vue-autonumeric @blur="blurHandeler" @keyup.enter="enterHandeler" />
Vue js can do it with this.$listeners
This still (or again?) isn't working for me.
Your modified codepen: https://codepen.io/GTCrais/pen/MWwbbZQ?editors=1010
Locally I'm using "vue-autonumeric": "^1.2.6", (i.e. the most recent version at the time of writing this commend) and @blur and @keyup.enter events aren't triggering.
This still (or again?) isn't working for me.
Your modified codepen: https://codepen.io/GTCrais/pen/MWwbbZQ?editors=1010Locally I'm using
"vue-autonumeric": "^1.2.6",(i.e. the most recent version at the time of writing this commend) and@blurand@keyup.enterevents aren't triggering.
Use native events: @keyup.enter.native. It's work for me.