Khandaker Toihidul Islam
Front-end Developer
React Js | Javascript | HTML | CSS | Bootstrap | Wordpress | PHP | Mysql

Vue Two-way binding

	<div id="app">
		<input type="text" placeholder="Enter your name" v-model="name">
		<p>Name: {{ name}}</p>
	</div>
<script type="text/javascript">
	new Vue({
		el: "#app",
		data: {
			name : '',
		}
	});
</script>

Demo http://vue.toihid.com/section-2/two_way_binding.php

You may also like...

Leave a Reply