This is the npm version vcf-autocomplete developed using Polymer 3.
Live demo ↗ | API documentation ↗
Install vcf-autocomplete
:
npm i @vaadin-component-factory/vcf-autocomplete --save
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>
-
Fork the
vcf-autocomplete
repository and clone it locally. -
Make sure you have npm installed.
-
When in the
vcf-autocomplete
directory, runnpm install
to install dependencies. -
Run
npm start
to open the demo.
To contribute to the component, please read the guideline first.
Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: Support and Pricing: https://vaadin.com/pricing
Apache License 2