theophani / plete

Vanilla autocomplete component

Home Page:https://plete.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plete

CircleCI codecov npm

A vanilla js autocomplete component that supports remote filtering.

npm install plete --save

Objectives

  • Good WAI-ARIA support
  • Support multiple input types: keyboard, mouse, touch
  • Support local and remote filtering (async function as datasource)
  • Custom rendering of elements
  • Excellent test coverage
  • zero dependencies

Compatibility

This project is aiming for wide compatibility in modern and supported browsers.

This means that no versions of IE, or legacy versions of Safari (before 10) are supported.

If you have to support legacy browsers in your project, you likely already have a transpiling setup and know how to use polyfills.

eslint-plugin-compat is used to ensure contributors are aware when they introduce compatibility issues.

Documentation

Please see plete.dev for documentation.

If you'd like to contribute to the documentation, see plete-docs.

About

Vanilla autocomplete component

https://plete.dev

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 91.3%Language:HTML 8.1%Language:CSS 0.6%