0.3.12 • Published 2 years ago

treetan-chat-widget v0.3.12

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

0.3.11

2 years ago

0.3.10

2 years ago

0.3.9

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago