-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
26 lines (26 loc) · 873 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Zeph - Examples - ExampleService</title>
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@^2/webcomponents-loader.js"></script>
<script src="./example-clock.js" type="module"></script>
<script>
document.addEventListener("zeph:component:loading",(event)=>{
console.log("zeph:component:loading",event.detail.toString());
});
document.addEventListener("zeph:component:defined",(event)=>{
console.log("zeph:component:defined",event.detail.name);
});
document.addEventListener("zeph:component:undefined",(event)=>{
console.log("zeph:component:undefined",event.detail.name);
});
document.addEventListener("zeph:ready",()=>{
console.log("zeph:ready");
});
</script>
</head>
<body>
<example-clock></example-clock>
</body>
</html>