-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (55 loc) · 1.75 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8' />
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>ROAP & jsy-script</title>
<link rel='icon' href='data:image/png;base64,' />
<link rel='stylesheet' crossorigin='anonymous' href='https://cdn.jsdelivr.net/npm/shoelace-css@1.0.0-beta24/dist/shoelace.css' />
<style>
body>main {
max-width: 40em;
margin: 2em auto;
}
#frm { display: flex; }
#frm>* { flex: 1; }
.color_grid {
display: flex;
margin: 2em 0;
}
.color_grid>div {
flex: 1;
border: 1px solid black;
margin: 0 5px;
padding: 5px;
}
</style>
<link href='https://cdn.jsdelivr.net/npm/prismjs@1.20.0/themes/prism.css' rel='stylesheet' />
<script src='https://cdn.jsdelivr.net/npm/prism-jsy/umd/prism-jsy.js'></script>
<script src='./umd/roap.js'></script>
</head>
<body>
<main>
<p>
Let me sum up; wait, there is too much.
<ul>
<li><a href='https://github.com/shanewholloway/js-roap' target=_blank>See sources at github</a></li>
<li><a href='./demo/index.html' target=_blank>Small demo examples</a></li>
<li><a href='./test/unittest.html' target=_blank>Unit tests</a></li>
</ul>
</p>
<hr/>
<form id=frm>
<label>A <input id=aaa type=range min=0 max=1000 value=300 /></label>
<label>B <input id=bbb type=range min=0 max=1000 value=500 /></label>
<label>C <input id=ccc type=range min=0 max=1000 value=700 /></label>
</form>
<div class='color_grid'>
<div id=tgt_rgb>RGB</div>
<div id=tgt_hsl>HSL</div>
</div>
<pre data-src='./demo/dom_input.jsy'></pre>
</main>
<script src='./demo/esm/dom_input.mjs'></script>
</body>
</html>