0.3.12 • Published 12 months ago

treetan-chat-widget v0.3.12

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

Chat Widget Vue Library for Nuxt Project

This project integrates a chat widget into a Nuxt application using the treetan-chat-widget library. The widget enables real-time messaging through a socket.io connection and offers various chat functionalities.

Installation

First, install the treetan-chat-widget and socket.io-client packages:

npm install treetan-chat-widget socket.io-client


Props
The Chat component accepts the following props:

isOpenChat (Boolean): Indicates whether the chat is open. Default is false.
chatListProp (Array): List of chats. Default is an empty array.
messageListProp (Array): List of messages. Default is an empty array.

Events

@sendMessage: Triggered when a message is sent.
@openChat: Triggered when the chat is opened.
@closeChat: Triggered when the chat is closed.
0.3.12

12 months ago

0.3.11

1 year ago

0.3.10

1 year ago

0.3.9

1 year ago

0.3.8

1 year ago

0.3.7

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago