matiastucci / vue-input-tag

:bookmark: Vue.js 2.0 Input Tag Component
https://tucci.me/vue-input-tag
MIT License
536 stars 135 forks source link

Change event #75

Closed MartinKravec closed 6 years ago

MartinKravec commented 6 years ago

Version of Vue I'm using?: 2.5.16 Version of vue-input-tag I'm using?: 1.0.3

Hello,

is it possible to set onchange event? How? This event will not fire on change.

<input-tag :tags.sync="statistics.values" @change="refreshStatistics"></input-tag>

Thanks

DivyarajB commented 6 years ago

It will be great if we can emit some events which system can do for post process operations.

matiastucci commented 6 years ago

You can do this: <input-tag :tags="tagsArray" @update:tags="refreshStatistics"></input-tag>