select-pure
Version:
Custom JavaScript <select> component. Easy-to-use, accessible, mobile friendly and super efficient
21 lines (20 loc) • 552 B
HTML
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
</head>
<body>
<script src="./index.js" type="module"></script>
<h1>SelectPure examples</h1>
<div class="grid">
<div>
<h2>Basic select</h2>
<select-pure>
<option value="NY">New York</option>
<option value="SF" selected>San Francisco</option>
</select-pure>
</div>
</div>
</body>
</html>