-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
45 lines (39 loc) · 1.24 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>FormControl demo page</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
<meta name="description" content="FormControl demo page" />
<meta charset="UTF-8" />
<link href="/demo/page.css" rel="stylesheet" />
</head>
<body>
<form id="form">
<h1>FormControlMixin demo</h1>
<complex-demo
name="complex-demo"
minlength="5"
pattern=".*lit$"
>
Example of how to implement a complex control
</complex-demo>
<div class="form-field">
<label for="switch">Switch</label>
<demo-switch id="switch" name="switch" value="switch-on" checked> </demo-switch>
</div>
<div class="form-field">
<async-validator name="async" required></async-validator>
</div>
<div class="buttons">
<button type="reset">Reset</button>
<button type="submit">Submit</button>
</div>
</form>
<script defer src="/demo/page.ts" type="module"></script>
<script defer src="/demo/index.ts" type="module"></script>
<form>
<test-el name="foo"></test-el>
<button type="submit">Continue</button>
</form>
</body>
</html>