-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-with-unbundled-component.html
43 lines (36 loc) · 1.31 KB
/
example-with-unbundled-component.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
<!DOCTYPE html>
<html lang="en" style="width:100%; height:100%">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="minimal-ui, width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="format-detection" content="telephone=no">
<style type="text/css">
html {
text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-o-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
</style>
<script src="./throw-error/dist/throw-error.js"></script>
<script src="./expect-ordinal/dist/expect-ordinal.js"></script>
<!-- svelte-timer-action is already bundled into svelte-countdown-view
<script src="./svelte-timer-action/dist/svelte-timer-action.js"></script>
-->
<script src="./svelte-countdown-view/dist/svelte-countdown-view.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
new CountdownView({
target: document.getElementById('svelte-countdown-timer'),
props: { Time:100 }
})
})
</script>
</head>
<body>
<div id="svelte-countdown-timer"></div>
</body>
</html>