@monukanyal/multiple-email-input
v1.0.3
Published
A library for multiple email tag input field
Downloads
3
Maintainers
Readme
my-vue-library
Installation and Usage
- Just use
npm install --save @monukanyal/multiple-email-input
- next step:
import TagInput from './components/TagInput.vue'
export default {
name: 'App',
components: {
'tag-input':TagInput
},
data () {
return {
inputs:{
emails: [],
invalid: false
}
}
},
methods: {
getEmailInputs(inputs) {
this.inputs = inputs
}
}
}
- use like this:
<tag-input v-on:getInputs="getEmailInputs"></tag-input>