modern-select
v1.0.2
Published
An HTML select element with text input and autocompletion
Downloads
9
Readme
ModernSelect
A modern HTML select element
How to
Download
npm install modern-select
Import
Vanilla HTML:
<!-- main.html -->
<head>
<script type="text/javascript" src="node_modules/modern-select/node_modules/growing-input/node_modules/document-register-element/build/document-register-element.js"></script>
<script type="text/javascript" src="node_modules/modern-select/node_modules/growing-input/input.js"></script>
<script type="text/javascript" src="node_modules/modern-select/select.js"></script>
</head>
Meteor:
// main.js
import 'modern-select'
Use
<!-- main.html -->
<body>
<modern-select>
<div>Hello</div>
<div>World</div>
</modern-select>
</body>