whatsapp-button.js

1.0.1-1.1 • Public • Published

whatsappButton.js

v1.0.11.1 Main changes:

  • README improvements.

whatsappButton.js is a plugin made with javascript that creates a interactive button for your web aplications. It is easy-to-use, customizable and resilient.

Try it out at: https://alvesalexsander.github.io/whatsappButton/

Install via NPM! running command: npm install whatsapp-button.js

OR

Download files from here!

CDN Links:

CSS styles: https://unpkg.com/whatsapp-button.js/dist/wpp_css/whatsappButton.min.css

JS file: https://unpkg.com/whatsapp-button.js/dist/wpp_js/whatsappButton.min.js


# How To Use:

OR

Download plugin files at: whatsappButton.js page and put it inside your node_modules folder (path must to be node_modules/whatsapp-button.js).

OR

check the documentation page for further information.

  • 5. At the end of the creation process, the UI will present you an javascript code like this one:

new WhatsappButton('5522123456789', 'Could we help you?', 'We are at your service! Want help at choosing a wine? Any other thing we could help?', 'netWinez, can we help?', '1', '#6f2045', '#000000', '', 'https://fonts.googleapis.com/css?family=Satisfy&display=swap')

Then, you can call the code shown on any .js file or in a script element to create your button.

*Compatible with Google Chrome, Mozilla Firefox, Microsoft Edge and the most modern browsers.

Package Sidebar

Install

npm i whatsapp-button.js

Weekly Downloads

74

Version

1.0.1-1.1

License

GPL-3.0-or-later

Unpacked Size

161 kB

Total Files

12

Last publish

Collaborators

  • alexsanderalves