-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (45 loc) · 1.83 KB
/
index.html
File metadata and controls
50 lines (45 loc) · 1.83 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<title>Web component elements</title>
<link rel="stylesheet" href="assets/css/app-styles.css" media="screen">
<!-- polyfill -->
<script src="assets/js/libs/webcomponents-lite.js"></script>
<!-- W3C -->
<link rel="import" href="native/wc-button/">
<link rel="import" href="native/wc-input-with-binding/">
<!-- x-tag -->
<link rel="import" href="xtag/wc-input-with-binding/">
<!-- polymer -->
<link rel="import" href="polymer/wc-input-with-binding/">
<!-- page specific -->
<script defer src="assets/js/app-scripts.js"></script>
</head>
<body>
<h1>List of web components</h1>
<ul class="components-list">
<li>
<h3 title="w3c - v1">Slots example</h3>
<wc-button iconurl="/icon">
<span slot="icon">⟳</span>
<span slot="text">Refresh</span>
<p>Simple custom button implementation with custom elements v1 and shadow dom v1</p>
</wc-button>
</li>
<li>
<h3 title="w3c - v1">Data binding example</h3>
<wc-input-with-binding greeting="Welcome!" user="Mr. X" />
</li>
<li>
<h3 title="xtag">Data binding example</h3>
<xtag-wc-input-with-binding greeting="Welcome!" user="Mr. X"></xtag-wc-input-with-binding>
</li>
<li>
<h3 title="polymer">Data binding example</h3>
<pwc-input-with-binding greeting="Welcome!" user="Mr. X"></pwc-input-with-binding>
</li>
</ul>
</body>
</html>