Official Angular plugin for Tawk messenger
npm install @tawk.to/tawk-messenger-angular
width="250"
src="./images/js_logos_ver2_angular_js_tawk-08_720.png"
alt="Tawk Angular Logo">
bash
Node
npm install @tawk.to/tawk-messenger-angularYarn
yarn add @tawk.to/tawk-messenger-angular
`
Quickstart
Import the tawk-messenger-angular in your app.component.ts. The propertyId and widgetId will be found on your tawk dashboard Administration > Chat Widget.`js
import { TawkMessengerAngular } from '@tawk/tawk-messenger-angular';@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.sass']
})
export class AppComponent implements OnInit {
title = 'tawk-messenger-angular'
constructor(
public TawkMessengerAngular: TawkMessengerAngular
) { }
ngOnInit(): void {
this.TawkMessengerAngular.init({
propertyId: [propertyId],
widgetId: [widgetId]
});
}
}
`Documentation
This project includes a
docs` folder with more details on:1. How to use
2. API Reference
3. Directives
Where you can approach us for suggestion or bug report?
You can mention us on Twitter or in our Website just message us.