Renders a customizable chat component
Name | Type | Description |
|---|---|---|
defines the channel Id | ||
defines the channel Id | ||
defines the height as it is position to fixed | ||
Enum | defines the label of the chat room when drawer is visible | |
defines the theme dark/light | ||
defines where the chat to pop up | ||
defines the width the chat can consume |
Usage
<gevme-chat /> explicitly adds a customised chat component onto a template.
In order to have this generated as a window app, template should have the following sdk which already defined automatically on the template:
https://myxp-template.gevme.com/static/widgets/sdks/chat-sdk.jsExample
In the template, we may use a button to manually trigger a chat frame. The sample script snippet is shown below:
This can be used with a gevme-chat tag with attributes for generating a chat app:
The code above opens a chat on the livepage when the button is clicked: