title | page_title | description | slug | canonicalLink | position |
---|---|---|---|---|---|
Setting the Value |
Setting the Value - NumericTextBox - Kendo UI for Vue |
Set the value of the Kendo UI NumericTextBox wrapper for Vue. |
values_numerictextbox_wrapper |
2 |
The NumericTextBox allows you to set various types of values.
The following example demonstrates how to create a currency NumericTextBox.
{% meta height:100 %} {% embed_file numerictextbox/value/main.vue preview %} {% embed_file numerictextbox/value/main.js %} {% endmeta %}
The following example demonstrates how to create a percentage NumericTextBox.
<div id="vueapp" class="vue-app">
<kendo-numerictextbox :format="'p'" :value="0.12"></kendo-numerictextbox>
</div>
Vue.use(InputsInstaller);
new Vue({
el: "#vueapp"
})