-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
41 lines (37 loc) · 885 Bytes
/
demo.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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>clearable-input</title>
<script src="../webcomponentsjs/webcomponents-lite.min.js"></script>
<link rel="import" href="clearable-input.html">
</head>
<style is="custom-style">
div {
border: 1px solid black;
margin-bottom: 10px;
padding: 10px;
width: 25%;
}
</style>
<body unresolved>
<div>
<p>The simplest clearable input on the planet</p>
<clearable-input></clearable-input>
</div>
<div>
<p>Clearable input with a placeholder</p>
<clearable-input placeholder="Hello World"></clearable-input>
</div>
<div>
<p>Read Only input with a value</p>
<clearable-input placeholder="Hello World" value="Foo" is-read-only></clearable-input>
</div>
<div>
<p>Disabled input</p>
<clearable-input placeholder="Hello World" value="Foo" is-disabled></clearable-input>
</div>
</body>
<script>
</script>
</html>