We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 049c0e6 commit 4e009d7Copy full SHA for 4e009d7
app.js
@@ -2,7 +2,8 @@ new Vue({
2
el: '#vue-app',
3
data: {
4
name: 'Shaun',
5
- job: 'Ninja'
+ job: 'Ninja',
6
+ website: 'http://www.thenetninja.co.uk'
7
},
8
methods: {
9
greet: function(time){
index.html
@@ -8,9 +8,9 @@
</head>
<body>
10
<div id="vue-app">
11
- <h1>{{ greet('afternoon') }}</h1>
12
- <p>Name: {{ name}}</p>
13
- <p>Job: {{ job }}</p>
+ <h1>Data Binding</h1>
+ <a v-bind:href="website">The Net Ninja Website</a>
+ <input type="text" v-bind:value="name" />
14
</div>
15
</body>
16
0 commit comments