send whatsapp message from angular 2 web app
Building a web app using angular 2, (or 4). Want to send a message through Whatsapp. This works fine whatsapp://send?text=hi! to open Whatsapp from the browser. I want to send the URL of the current page. I can use {{url}} to print the URL on the web page but I don't know how to set text={{url}} if you know what I mean. relevant part of the component export class ActivityDetailsComponent implements OnInit { @Input() activity: any; @Output() close = new EventEmitter(); error:any; navigated = false; sub: any; imageURL: string; location:Location; url: any; constructor(private activitiesService:Ac
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.