-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (30 loc) · 907 Bytes
/
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
<!-- <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<script src="picker-element.js"></script>
<title>Visual Picker</title>
</head>
<body>
<picker-element></picker-element>
<script>
const picker = document.querySelector('picker-element');
picker.label = "Pick an option";
picker.name = "options";
picker.options = [
{
label: 'Option 1',
value: '1',
image: 'https://cdn2.mhpbooks.com/2018/07/cowboy-hat.png',
}, {
label: 'Option 2',
value: '2',
image: 'https://www.seekclipart.com/clipng/middle/28-287756_sad-emoji-clipart-android-emoji-sad-face-png.png',
}
]
</script>
</body>
</html> -->