-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhybrid.html
48 lines (48 loc) · 1.28 KB
/
hybrid.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hybrid Demo</title>
<link rel="stylesheet" href="common.css" />
<style>
form label.whole-line {
display: block;
margin-bottom: 1rem;
text-transform: capitalize;
}
form label.whole-line input {
margin-top: 0.5rem;
display: block;
}
</style>
</head>
<body>
<h1>Hybrid Demo</h1>
<p>
This page demo how to use dom-proxy with native dom elements (that are
already present in the DOM).
</p>
<h2>Demo Form</h2>
<form id="loginForm">
<label class="whole-line">
username:
<input name="username" type="text" />
</label>
<label class="whole-line">
password:
<input name="password" type="password" />
</label>
<label>Show password: <input id="show-pw" type="checkbox" /></label>
<br />
<br />
<input type="submit" value="Submit" />
<input type="reset" value="Reset" />
</form>
<script src="hybrid.js"></script>
<footer>
<a href="index.html">back to home</a>
</footer>
</body>
</html>