Skip to content

Commit 7bbe489

Browse files
committed
Add demo page
1 parent 3f9dd49 commit 7bbe489

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

examples/index.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<!-- <script type="text/javascript" src="../dist/index.umd.js"></script> -->
6+
<script type="text/javascript" src="https://unpkg.com/@github/task-lists-element@latest"></script>
7+
<title>task-lists-element demo</title>
8+
</head>
9+
<body>
10+
<task-lists sortable>
11+
<ul class="contains-task-list">
12+
<li class="task-list-item">
13+
<label>
14+
<input type="checkbox" class="task-list-item-checkbox">
15+
Hubot
16+
</label>
17+
</li>
18+
<li class="task-list-item">
19+
<label>
20+
<input type="checkbox" class="task-list-item-checkbox">
21+
Bender
22+
</label>
23+
</li>
24+
</ul>
25+
26+
<ul>
27+
<li>
28+
Nested
29+
30+
<ul class="contains-task-list">
31+
<li class="task-list-item">
32+
<label>
33+
<input type="checkbox" class="task-list-item-checkbox">
34+
WALL-E
35+
</label>
36+
</li>
37+
<li class="task-list-item">
38+
<label>
39+
<input type="checkbox" class="task-list-item-checkbox">
40+
BB-8
41+
</label>
42+
</li>
43+
</ul>
44+
</li>
45+
</ul>
46+
</task-lists>
47+
</body>
48+
</html>

0 commit comments

Comments
 (0)