forked from owthub/vuejs2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideo-4.html
35 lines (26 loc) · 807 Bytes
/
video-4.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<head>
<script src="https://unpkg.com/[email protected]/dist/vue.js"></script>
<style>
.fixImageSize{
height: 100px;
width: 100px;
}
</style>
</head>
<body>
<div id="my-app">
<a :href="ulink" :title="title">{{ name }}</a> <br/>
<img :src="imageLink" v-bind:class="{fixImageSize:isActive}">
<br/>
<form method="post">
<input type="text" v-bind:value="txtName" placeholder="Name">
<input type="text" v-bind:value="txtEmail" placeholder="Email">
<button type="button" name="button">Submit</button>
</form>
<br/>
<div v-html="htmlContent"></div>
</div>
<script src="video-4.js"></script>
</body>
</html>