0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

属性のデータバインド v-bind テキストボックスに値を表示する。

Posted at

javascript

var app = new Vue({
  el: '#app',
  data: {
    message: 'hello world'
  }
})

html

<div id='app'>
  <input type="text" v-bind:value="message">
</div>

<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16"></script>

表示結果

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?