https://github.com/vaadin-component-factory/vcf-autosuggest
https://github.com/vaadin-component-factory/vcf-autosuggest
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vaadin-component-factory/vcf-autosuggest
- Owner: vaadin-component-factory
- License: apache-2.0
- Created: 2021-06-08T07:03:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-18T10:35:08.000Z (about 2 years ago)
- Last Synced: 2024-10-06T20:35:34.103Z (8 months ago)
- Language: JavaScript
- Size: 114 KB
- Stars: 0
- Watchers: 8
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# <vcf-autosuggest>
[](https://gitter.im/vaadin/web-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[](https://www.npmjs.com/package/@vaadin-component-factory/vcf-autosuggest)
[](https://vaadin.com/directory/component/vaadin-component-factoryvcf-autosuggest)This is the npm version [vcf-autosuggest](https://github.com/vaadin-component-factory/vcf-autosuggest) developed using Polymer 3.
[Live demo ↗](https://vcf-autosuggest.netlify.com)
|
[API documentation ↗](https://vcf-autosuggest.netlify.com/api/#/elements/Vaadin.VcfAutoSuggest)
## Installation
Install `vcf-autosuggest`:
```sh
npm i @vaadin-component-factory/vcf-autosuggest --save
```## Usage
Once installed, import it in your application:
```js
import '@vaadin-component-factory/vcf-autosuggest';
```Add `` 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.
```html
```
## Running demo
1. Fork the `vcf-autosuggest` repository and clone it locally.
1. Make sure you have [npm](https://www.npmjs.com/) installed.
1. When in the `vcf-autosuggest` directory, run `npm install` to install dependencies.
1. Run `npm start` to open the demo.
## Contributing
To contribute to the component, please read [the guideline](https://github.com/vaadin/vaadin-core/blob/master/CONTRIBUTING.md) first.
## License
Apache License 2