Skip to main content

simple autocompletion web component

Project description

Autocomplete-Light: simple autocompletion web component

Difference with other HTML autocompletion elements:

  • defers the rendering of the select box to the server
  • lightweight javascript web component with no dependency

While it is best suited for server side framework integration, it may also be used on its own, to create a global navigation input like in the facebook top bar, as well as to create replacement widgets for HTML selects.

Demo

Clone the repository and run python serve.py

Usage

For usage, check the index.html source code

Testing

This module exposes a Python library to provide an API for Selenium and make integration testing easier with Python projects.

Install the python package with test dependencies:

# in repository clone
pip install -e .[test]
python serve.py &
py.test -sv

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autocomplete-light-0.1.3.tar.gz (2.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page