-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
38 lines (37 loc) · 1.1 KB
/
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
<!doctype html>
<html>
<head>
<title>DOM AutoLayout example</title>
<meta name="viewport" content="width=device-width, maximum-scale=1, user-scalable=no" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="stylesheet" type="text/css" href="styles.css" />
<script type="importmap">
{
"imports": {
"@lume/autolayout": "../../dist/AutoLayout.js",
"@lume/kiwi": "../../node_modules/@lume/kiwi/dist/kiwi.js"
}
}
</script>
</head>
<body>
<div id="left">
<div id="text">LUME AutoLayout DOM Example:</div>
<pre id="vfl"></pre>
<div id="text2">Same example written in EVFL:</div>
<pre id="evfl"></pre>
</div>
<div id="right">
<div id="child1"><div>child1</div></div>
<div id="child2"><div>child2</div></div>
<div id="child3"><div>child3</div></div>
<div id="child4"><div>child4</div></div>
<div id="child5"><div>child5</div></div>
</div>
<script type="module">
import './main.js'
</script>
</body>
</html>