vue-bulma / cleave

Vue Cleave component is based on cleave.js for Vue
MIT License
105 stars 17 forks source link

Way of passing through events #7

Closed BrockReece closed 7 years ago

BrockReece commented 7 years ago

Hey, me again

This PR will allow you to pass event listeners through a prop object in the following format

{ 
  blur() {
    console.log('on blur')
  }
}

I think this is a lot cleaner than passing events through as separate props