@firstandthird/complete

Super simple autocomplete library for domodule

Stats

StarsIssuesVersionUpdatedCreatedSize
@firstandthird/complete
0152.3.02 years ago5 years agoMinified + gzip package size for @firstandthird/complete in KB

Readme

Complete Build Status npm

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>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.