-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (36 loc) · 1010 Bytes
/
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
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<title>DrowJS Sample</title>
<meta charset="utf-8">
</head>
<body>
<div id="app"></div>
<!-- Custom HTML Component -->
<comp-click-test message="Hello Universe"></comp-click-test>
<hr />
<comp-watch-test message="Hello UniverseX"></comp-watch-test>
<hr />
<slot-test>
<div slot="slot1">AAA</div>
</slot-test>
<!-- Load DrowJS Library -->
<script src="drow.js"></script>
<br />
<hr />
<div>
<ul>
<li>
Example 1: Inspect the DOM and change the message attribute.<br />
Click on the Bold Text to show the date.
</li>
<li>
Example 2:This shows the Component can react component changes within its watch method as well as have handlers
attached in the init.
</li>
</ul>
</div>
<!-- Run Sample Component Data -->
<script src="main.js"></script>
</body>
</html>