-
Notifications
You must be signed in to change notification settings - Fork 48
/
index.html
51 lines (49 loc) · 955 Bytes
/
index.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Vue Autocomplete Component</title>
<style>
.main{
margin-left: 35px;
display: inline-block;
float: left;
width: 25%;
margin-right: 235px;
}
.preview{
display: inline-block;
float: left;
max-width: 45%;
}
pre{
background: #f8f8f8;
padding: 15px;
}
</style>
</head>
<body>
<div class="main">
<h1>Vue Autocomplete {{ vModelLike }}</h1>
<button @click="clearAutocomplete">Clear</button>
<autocomplete
id="input__id-optional"
class="input_class optional"
name="people"
placeholder="Type Here"
url="http://localhost:3000/remote-list/klien"
param="q"
limit="5"
anchor="value"
label="label"
model="vModelLike"
v-ref:my-autocomplete>
</autocomplete>
</div>
<div class="preview">
<h1>Data Selected</h1>
<pre>{{ data | json 2 }}</pre>
</div>
<script src="./build.js"></script>
</body>
</html>