Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@tpluscode/paper-autocomplete

open-wc17MIT0.0.2

Frankenstein autocomplete assembled from paper elements

readme

<paper-autocomplete>

This webcomponent follows the open-wc recommendation.

Installation

npm i paper-autocomplete

Usage

<script type="module">
  import 'paper-autocomplete/paper-autocomplete.js';
</script>

<paper-autocomplete></paper-autocomplete>

Testing using karma (if applied by author)

npm run test

Testing using karma via browserstack (if applied by author)

npm run test:bs

Demoing using storybook (if applied by author)

npm run storybook

Linting (if applied by author)

npm run lint

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.0.2 (2019-12-09)

Features

  • add property for the regex to use for search (710cdbb)
  • added slots for prefix and suffix (f554671)
  • bind to focus/blur events to control the result list (906aac6)
  • nicely debounce typing (d239af3)
  • notify event has to be done manually (7beecbc)
  • set value on ENTER (6e4b8d3)

Bug Fixes