VueJs V-bind

v-bind is used to dynamically bind one or more attributes, or a component prop to an expression.

When used to bind the class or style attribute, it supports additional value types such as Array or Objects.

Below the example of bind the attribute href and img src

<!DOCTYPE html>
<html lang="en">
   <script type="text/javascript" src=""></script>
     <div id="app">
	     <a v-bind:href="href">
		   <img alt="" v-bind:src="imgsrc" />
     new Vue ({
        	el: '#app',
		data: {
		        href: '', 
		        imgsrc: ''