Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-whatsapp-button

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-whatsapp-button

Library to display a whastapp floating contact button on the user page

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-57.14%
Maintainers
1
Weekly downloads
 
Created
Source

#NGX-WHATSAPP-BUTTON

a floating whatsapp contact button to display in your app

just run in your terminal inside   your project :

    npm install ngx-whatsapp-button

after that import  the library  in your app module

   import { NgxWhastappButtonModule } from "ngx-whatsapp-button";

added to your imports section

...

 imports: [
      NgxWhastappButtonModule
  ],
 ...

once imported the library needs to pass two @Input parameters

  • ngx-whatsapp-phone:   the phone number where you want to receive the mesages
  • ngx-whatsapp-text:  the default  text you want to receive

###How to use it simply  add the tags in the component html where you want to display it

<jjva-ngx-whatsapp-button [ngx_whatsapp_phone]="phone" [ngx_whatsapp_text]="title"></jjva-ngx-whatsapp-button>

and inside your component ts declare  this two variables

  public phone = "THE PHONE NUMBER IN INTERNATIONAL FORMAT WITHOUT THE PLUS SIGN"
  public title = "THE PRESET MESSAGE TO SEND";
  

Keywords

FAQs

Package last updated on 24 Sep 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc