directive

vue.js focus net directive

Vue.directive('focusNext', {bind: function () {this.handler = function () {if (this.el.value.length >= this.expression) {var next = this.el.nextSibling;next.focus();}}.bind(this)this.el.ad