I define a properties, type of 'Number':
properties: {
inputValue: {
type: Number,
notify: true,
value: 0,
observer: '_inputValueChanged',
},
}
I set the element Attribute with this properties:
<input type="number" value="{{inputValue::input}}">
I input some number in this element,I got this inputValue, output a 'string' type value?
how can I get a 'number' type value, and how can I set the tow way binding value type of 'number'?
thanks!
I define a properties, type of 'Number':
I set the element Attribute with this properties:
I input some number in this element,I got this
inputValue, output a 'string' type value?how can I get a 'number' type value, and how can I set the tow way binding value type of 'number'?
thanks!