|
@@ -7,8 +7,11 @@
|
|
|
</head>
|
|
|
<body>
|
|
|
<div id="root">
|
|
|
+ <h1 :class="className">Heading 1</h1>
|
|
|
<button v-on:click="onClick" v-bind:title="title">Hover over me</button>
|
|
|
<button @click="onClick" :title="title">Over me too</button>
|
|
|
+ <button @click="toggleClass" :class="{ 'is-loading': isLoading }">Toggle me</button>
|
|
|
+ <button @click="setDisabled" :disabled="isDisabled">Try to click me</button>
|
|
|
</div>
|
|
|
|
|
|
<script src="../lib/vue-2.1.3.js"></script>
|