-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (47 loc) · 1.27 KB
/
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
52
53
54
55
56
57
<html>
<head>
<title>Framework impl</title>
</head>
<body>
<div class="wrapper">
<div
data-js-module="saveName"
data-input-field="#typeInMe"
data-save-btn="#pressOnMe"
data-delete-btn="#remove"
>
</div>
<label for="typeInMe">Enter value</label>
<input type="text" id="typeInMe">
<button id="pressOnMe">Save</button>
<button id="remove">Delete</button>
</div>
<div class="wrapper">
<div
data-js-module="saveName"
data-input-field="#typeInMe1"
data-save-btn="#pressOnMe1"
data-delete-btn="#remove1"
>
</div>
<label for="typeInMe1">Value binding between instances</label>
<input type="text" id="typeInMe1">
<button id="pressOnMe1">Save</button>
<button id="remove1">Delete</button>
</div>
<div class="wrapper">
<div
data-js-module="saveName"
data-input-field="#typeInMe2"
data-save-btn="#pressOnMe2"
data-storage-entry="second"
data-mirror="true"
>
</div>
<label for="typeInMe2">Instance with other storage key, databinding to other instances</label>
<input type="text" id="typeInMe2">
<button id="pressOnMe2">Save</button>
</div>
<script type="module" src="js/app.js"></script>
</body>
</html>