@vaadin-component-factory/vcf-autosuggest

1.1.6 • Public • Published

<vcf-autosuggest>

Gitter npm version Published on Vaadin Directory

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

Live demo | API documentation

screenshot

Installation

Install vcf-autosuggest:

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

Usage

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>

Running demo

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

  2. Make sure you have npm installed.

  3. When in the vcf-autosuggest 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.

License

Apache License 2

Package Sidebar

Install

npm i @vaadin-component-factory/vcf-autosuggest

Weekly Downloads

32

Version

1.1.6

License

https://raw.githubusercontent.com/vaadin/vaadin-incubator-element/master/LICENSE

Unpacked Size

48 kB

Total Files

8

Last publish

Collaborators

  • krissvaa
  • artur-
  • tatulund
  • wajtrvaadin
  • ingmartinlopez
  • paodb
  • jcgueriaud
  • vcf
  • jouni
  • onuridrisoglu