-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
90 lines (89 loc) · 3.99 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>makeup-switch-element</title>
<link href="../docs.css" rel="stylesheet" />
<!-- <link href="../theme-1.css" rel="stylesheet" /> -->
<link href="makeup-switch-element.css" rel="stylesheet" />
<link rel="icon" href="../favicon.ico" type="image/x-icon">
</head>
<body>
<header>
<h1>makeup-switch-element</h1>
</header>
<main>
<h2>SSR</h2>
<ul>
<li>
<span id="label1">makeup-switch 1</span>
<makeup-switch labelledby="label1">
<template shadowrootmode="open">
<link href="makeup-switch-element.css" rel="stylesheet" />
<span class="switch">
<span class="switch__control" role="switch" tabindex="0"></span>
<span class="switch__button"></span>
</span>
</template>
</makeup-switch>
</li>
<li>
<span id="label2">makeup-switch 2</span>
<makeup-switch labelledby="label2" checked>
<template shadowrootmode="open">
<link href="makeup-switch-element.css" rel="stylesheet" />
<span class="switch">
<span class="switch__control" role="switch" tabindex="0"></span>
<span class="switch__button"></span>
</span>
</template>
</makeup-switch>
</li>
<li>
<span id="label3">makeup-switch 3</span>
<makeup-switch labelledby="label3" disabled>
<template shadowrootmode="open">
<link href="makeup-switch-element.css" rel="stylesheet" />
<span class="switch">
<span class="switch__control" role="switch" tabindex="0"></span>
<span class="switch__button"></span>
</span>
</template>
</makeup-switch>
</li>
<li>
<span id="label4">makeup-switch 4</span>
<makeup-switch labelledby="label4" checked disabled>
<template shadowrootmode="open">
<link href="makeup-switch-element.css" rel="stylesheet" />
<span class="switch">
<span class="switch__control" role="switch" tabindex="0"></span>
<span class="switch__button"></span>
</span>
</template>
</makeup-switch>
</li>
</ul>
<h2>CSR</h2>
<ul>
<li>
<span id="label5">makeup-switch 5</span>
<makeup-switch labelledby="label5" skeleton="true"></makeup-switch>
</li>
<li>
<span id="label6">makeup-switch 6</span>
<makeup-switch labelledby="label6" skeleton="true" checked></makeup-switch>
</li>
<li>
<span id="label7">makeup-switch 7</span>
<makeup-switch labelledby="label7" skeleton="true" disabled></makeup-switch>
</li>
<li>
<span id="label8">makeup-switch 8</span>
<makeup-switch labelledby="label8" skeleton="true" checked disabled></makeup-switch>
</li>
</ul>
</main>
<script src="bundle.js"></script>
</body>
</html>