Socket
Socket
Sign inDemoInstall

whatsapp-button.js

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    whatsapp-button.js

Get in touch with your customers via Whatsapp Web API using a highly customized whatsapp-button.


Version published
Weekly downloads
68
increased by38.78%
Maintainers
1
Install size
158 kB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 09 Aug 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc