Svelte plugin for Tawk messenger
npm install tawk-messenger-svelte
width="250"
src="./static/tawk-svelte.png"
alt="Tawk Svelte logo"
>
The plugin is available from the node and yarn package managers.
``bashNode
npm install tawk-messenger-svelte
Quickstart
Import tawk-messenger-svelte into your
.svelte component. The propertyId and widgetId will
be found on your tawk Dashboard.Log in to your account and go to Administration > Channels > Chat Widget.
$3
`html
`
$3
In this example we show how to bind and dispatch events to the widget,
it uses the Javascript Api to open and close the widget.
Full api documentation: https://developer.tawk.to/jsapi/
`html
``It exposes the same api of the official Tawk Messenger React but ported to Svelte components.
This is not an official plugin maintained by the Tawk.to team. It is just a useful tool for whoever wants to integrate Tawk with Svelte. I have nothing to do with Tawk.to