fritx / vue-at

At.js for Vue.
https://fritx.github.io/vue-at/
MIT License
529 stars 114 forks source link

[feature] emit event when `atwho` changed #14

Open wangbinyq opened 7 years ago

fritx commented 7 years ago

Nice but does it work expectedly? Seems the atwho object is like

this.atwho = {
  range,
  offset,
  list,
  x: rect.left,
  y: rect.top - 4,
  cur: 0, // todo: 尽可能记录
}

which is emitted every time the panel open/closed or the selected item changed.

fritx commented 6 years ago

We can continue discussion in: #8