@firstandthird/complete
v2.3.0
Published
Super simple autocomplete library for domodule
Downloads
68
Readme
Complete
Super simple autocomplete library for domodule
Installation
npm install @firstandthird/complete
Usage
import '@firstandthird/complete';
// or
import Complete from '@firstandthird/complete';
Example HTML
<div data-module="Complete" data-module-endpoint="/api/autocomplete?q=${term}">
<input type="text" data-name="input" data-action="search" data-action-type="input" placeholder="Search for something">
<div data-name="resultsContainer"></div>
</div>