This is the npm version vcf-autosuggest developed using Polymer 3.
Live demo ↗ | API documentation ↗
Install vcf-autosuggest
:
npm i @vaadin-component-factory/vcf-autosuggest --save
Once installed, import it in your application:
import '@vaadin-component-factory/vcf-autosuggest';
Add <vcf-autosuggest>
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-autosuggest id="demo1" label="Choose country" placeholder="Start typing a country name..." options="[[options]]">
</vcf-autosuggest>
-
Fork the
vcf-autosuggest
repository and clone it locally. -
Make sure you have npm installed.
-
When in the
vcf-autosuggest
directory, runnpm install
to install dependencies. -
Run
npm start
to open the demo.
To contribute to the component, please read the guideline first.
Apache License 2