vue-at
vue-at copied to clipboard
allow multiple at chars at a time
Quick question. Does it allow multiple chars at a time like at.js? Say, whatever '@' or ':' is there, pop up a suggestion box?
@panzhangwang oh seems it is not supported yet. Will try to fix, otherwise, PR is welcome.
https://github.com/fritx/vue-at/blob/3cc035f7f117f223d1afe11e2ceb2f90ce72049d/src/At.vue#L204-L206
Currently the :at
prop accepts only a string, not a pattern or an array.
See https://github.com/fritx/vue-at/pull/17
Thanks to @4ver, now we can have multiple at-chars at the same time. This is fixed.
<at :ats="['@', '@', '~', ':', 'xx']"></at>