-
Notifications
You must be signed in to change notification settings - Fork 2
/
HighContrastWithCalciteDropdown.html
31 lines (25 loc) · 1.15 KB
/
HighContrastWithCalciteDropdown.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
<!--
1. Calcite sample: https://developers.arcgis.com/calcite-design-system/components/dropdown
2. Codepen sample: https://codepen.io/geospatialem/pen/vYzyoYv
-->
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<script type="module" src=https://js.arcgis.com/calcite-components/1.0.7/calcite.esm.js></script>
<link rel="stylesheet" type="text/css" href=https://js.arcgis.com/calcite-components/1.0.7/calcite.css />
</head>
<body>
<calcite-dropdown width="m">
<calcite-button slot="trigger">Select landform</calcite-button>
<calcite-dropdown-group group-title="Natural places">
<calcite-dropdown-item>Mountain</calcite-dropdown-item>
<calcite-dropdown-item>River</calcite-dropdown-item>
<calcite-dropdown-item>Waterfall</calcite-dropdown-item>
<calcite-dropdown-item>Rainforest</calcite-dropdown-item>
<calcite-dropdown-item>Tundra</calcite-dropdown-item>
<calcite-dropdown-item>Desert</calcite-dropdown-item>
</calcite-dropdown-group>
</calcite-dropdown>
</body>
</html>