-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
58 lines (45 loc) · 1.37 KB
/
demo.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
<!doctype html>
<html>
<head>
<meta name="asq-css-select" content="width=device-width, initial-scale=1, user-scalable=no">
<title>ASQ-CSS-SELECT | Demo</title>
<script src="../webcomponentsjs/webcomponents.js"></script>
<link href="asq-css-select.html" rel="import">
<style shim-shadowdom>
body {
font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
font-size: 14px;
margin: 0;
padding: 24px;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-touch-callout: none;
}
section {
padding: 20px 0;
}
section > div {
padding: 14px;
font-size: 16px;
}
section {
max-width: 400px;
}
asq-css-select {
margin-bottom: 1em;
}
</style>
</head>
<body>
<section>
<asq-css-select htmlcode="<ul><li class='aclass'><ul id='aid'><li></li><li></li></ul></li><div><p></p><p class='bclass'></p></div></li></ul>">
<asq-stem><h3>Select 'div' elements:</h3></asq-stem>
</asq-css-select>
<asq-css-select placeholder="please use class selecor" htmlcode="<ul><li class='aclass'><ul id='aid'><li></li><li></li></ul></li><div><p></p><p class='bclass'></p></div></li></ul>">
<asq-stem><h3>An example of custom placeholder</h3></asq-stem>
</asq-css-select>
</section>
<script>
var x = document.querySelector('asq-css-select');
</script>
</body>
</html>