@vaadin-component-factory/vcf-chat
v1.2.2
Published
Web Component chat implementation with virtual and infinite scroll.
Downloads
13
Readme
<vcf-chat>
This is the npm version vcf-chat developed using Polymer 3.
Live demo ↗ | API documentation ↗
Installation
Install vcf-chat
:
npm i @vaadin-component-factory/vcf-chat --save
Usage
Once installed, import it in your application:
import '@vaadin-component-factory/vcf-chat';
Add <vcf-chat>
element to the page.
<vcf-chat lazy-load-trigger-offset="300">
<div class="loading-indicator" slot="loading-indicator">
Loading..
</div>
</vcf-chat>
Running demo
Fork the
vcf-chat
repository and clone it locally.Make sure you have npm installed.
When in the
vcf-chat
directory, runnpm install
to install dependencies.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.0