suppose I have an input, that can only enter numbers, and the length and the number of decimal places are limited, so I need two parameters. How can I pass it and get it in the instruction?
here is the code that I pass a parameter or get, as follows:
<input type="text" v-spec-input="8">
directives: {
spec_input: {
bind: function (el, binding) {
//
console.log(binding.value)
}
},
}