JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 258
  • Score
    100M100P100Q101233F
  • License https://raw.githubusercontent.com/vaadin/vaadin-incubator-element/master/LICENSE

Web Component with a text input that provides a panel of suggested options.

Package Exports

  • @vaadin-component-factory/vcf-autocomplete

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vaadin-component-factory/vcf-autocomplete) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

<vcf-autocomplete>

Gitter npm version Published on Vaadin Directory

This is the npm version vcf-autocomplete developed using Polymer 3.

Live demo ↗ | API documentation ↗

screenshot

Installation

Install vcf-autocomplete:

npm i @vaadin-component-factory/vcf-autocomplete --save

Usage

Once installed, import it in your application:

import '@vaadin-component-factory/vcf-autocomplete';

Add <vcf-autocomplete> to the page. In attribute options you should declare options that will be offered for user to select. All change listener to the element in which you will update options appribute.

<vcf-autocomplete id="demo1" label="Choose country" placeholder="Start typing a country name..." options="[[options]]">
</vcf-autocomplete>

Running demo

  1. Fork the vcf-autocomplete repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the vcf-autocomplete directory, run npm install to install dependencies.

  4. Run npm start to open the demo.

Contributing

To contribute to the component, please read the guideline first.

Vaadin Prime

This component is available in the Vaadin Prime subscription. It is still open source, but you need to have a valid CVAL license in order to use it. Read more at: https://vaadin.com/pricing

License

Apache License 2