1.0.0 ā€¢ Published 3 years ago

vue-whatsapp-widget v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

vue-whatsapp-widget

WhatsApp chat widget for your website and your vue app Custom settings

What is vue-whatsapp-widget?

This is a very simple floating WhatsApp button widget. In the current situation with the pandemic 2020 events, most of the small businesses have to move to online presence. A wey to short the communication with your customers is using a widget like this.

It adds a floating-like button to your site that calls the WhatsApp Chat API.

It will automatically begin a WhatsApp chat to the number that you configure and with the text that the user writes.

All texts are fully customizable.

Install

npm install --save vue-whatsapp-widget

Usage

<template>
    <vue-whatsapp-widget phoneNumber="+1111111111"/>
</template>
<script>
import VueWhatsappWidget from 'vue-whatsapp-widget'
components: {
    VueWhatsappWidget
}
</script>

āš ļø Where the phoneNumber is a full phone number in international format. Omit any zeroes, brackets, or dashes when adding the phone number in international format.

Example: 44222222 where 44 is the UK internacional code.

Customization

optionvaluedefaultdescription
phoneNumberstring''WhatsApp intenational number which will receive the message.
textReplystring'Typically replies within an hour'
messagesarray'["Hi there šŸ‘‹ How can I help you ?"]'With \n you can create a break-line.
companyNamestring'Widget'Your company name?
companyLogostring''Your companyLogo

License

MIT

1.0.0

3 years ago

0.0.1

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago