ยทยทยท
Handling Forms
You can use the v-model
directive to create two-way data bindings on form input elements and elements with contenteditable
attribute. It automatically picks the correct way to update the element based on the input type.
Example
1 | <form id="demo"> |
1 | new Vue({ |
Result
Next: Computed Properties.
Caught a mistake or want to contribute to the documentation? Fork this site on Github!