@flowingcode/fc-whatsapp-button
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

npm version

@flowingcode/fc-whatsapp-button

Web Component to easily start WhatsApp conversations. It is based on @vaadin/button.

This component is a fork of @open-wa/whatsapp-button.

Online demo

Online demo here.

Installation

npm i @flowingcode/fc-whatsapp-button

How to use

<fc-whatsapp-button phone="123456" dialcode="44" text="Hello!" label="Contact Us!"></fc-whatsapp-button>

How to run local demo

  1. Fork the fc-whatsapp-button repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the fc-whatsapp-button directory, run npm install to install dependencies.

  4. Run npm start to open the demo.

Testing

npm run test

Creating static demo site

  1. Make sure to have executed npm install

  2. Execute npx -p parcel npm run buildstatic

  3. The static site will be generated in /dist

License

For license terms, see LICENSE.txt.

Readme

Keywords

none

Package Sidebar

Install

npm i @flowingcode/fc-whatsapp-button

Weekly Downloads

9

Version

2.0.0

License

Apache License 2.0

Unpacked Size

55.3 kB

Total Files

13

Last publish

Collaborators

  • paodb
  • ingmartinlopez
  • rjgodoy