Vue.js 束縛(バインディング)
<div id="app">
<span v-bind:title="message">
Hover your mouse over me for a few seconds to see my dynamically bound title!
</span>
</div>
var app = new Vue ({
el: '#app',
data: {
message: 'You loaded this page on ' + new Date().toLocaleString()
}
})
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.10/vue.min.js"></script>