You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ej2-vue/chat-ui/appearance.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ domainurl: ##DomainURL##
12
12
13
13
## Setting placeholder
14
14
15
-
You can use the `placeholder` property to display the placeholder text that appears in the message input field to guide users on what to type. The default is `Type your message…`.
15
+
You can use the [placeholder](../api/chat-ui/chatUIModel/#placeholder) property to display the placeholder text that appears in the message input field to guide users on what to type. The default is `Type your message…`.
16
16
17
17
{% tabs %}
18
18
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -27,7 +27,7 @@ You can use the `placeholder` property to display the placeholder text that appe
27
27
28
28
## Setting width
29
29
30
-
You can use the `width` property to specify the dimensions of the Chat UI within the application layout. By default, the value is `100%`.
30
+
You can use the [width](../api/chat-ui/chatUIModel/#width) property to specify the dimensions of the Chat UI within the application layout. By default, the value is `100%`.
31
31
32
32
{% tabs %}
33
33
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -42,7 +42,7 @@ You can use the `width` property to specify the dimensions of the Chat UI within
42
42
43
43
## Setting height
44
44
45
-
You can use the `height` property to specify the dimensions of the Chat UI within the application layout. By default, the value is `100%`.
45
+
You can use the [height](../api/chat-ui/chatUIModel/#height) property to specify the dimensions of the Chat UI within the application layout. By default, the value is `100%`.
46
46
47
47
{% tabs %}
48
48
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -57,7 +57,7 @@ You can use the `height` property to specify the dimensions of the Chat UI withi
57
57
58
58
## CssClass
59
59
60
-
You can use the `cssClass` property to customize the appearance of the chat UI component.
60
+
You can use the [cssClass](../api/chat-ui/chatUIModel/#cssclass) property to customize the appearance of the chat UI component.
61
61
62
62
{% tabs %}
63
63
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
Copy file name to clipboardExpand all lines: ej2-vue/chat-ui/getting-started.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,7 @@ yarn run serve
145
145
146
146
## Configure messages and user
147
147
148
-
You can use the `<e-messages>` tag directive to group all the messages and `<e-message>` tag to define each message and the `user` property to configure the current user for the chat.
148
+
You can use the `<e-messages>` tag directive to group all the messages and `<e-message>` tag to define each message and the [user](../api/chat-ui/user) property to configure the current user for the chat.
149
149
150
150
{% tabs %}
151
151
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
Copy file name to clipboardExpand all lines: ej2-vue/chat-ui/globalization.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ domainurl: ##DomainURL##
13
13
## Localization
14
14
15
15
The Chat UI can be localized to any culture by defining the text of the Chat UI in the corresponding culture. The default locale of the Chat UI is `en` (English). The following table represents the default text of the Chat UI in `en` culture.
16
-
16
+
17
17
|KEY|Text|
18
18
|----|----|
19
19
|oneUserTyping|{0} is typing|
@@ -34,7 +34,7 @@ The Chat UI can be localized to any culture by defining the text of the Chat UI
34
34
35
35
## RTL
36
36
37
-
RTL provides an option to switch the text direction and layout of the Chat UI component from right to left by setting the `enableRtl` property to `true`.
37
+
RTL provides an option to switch the text direction and layout of the Chat UI component from right to left by setting the [enableRtl](../api/chat-ui/chatUIModel/#enablertl) property to `true`.
38
38
39
39
{% tabs %}
40
40
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
Copy file name to clipboardExpand all lines: ej2-vue/chat-ui/header.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ domainurl: ##DomainURL##
12
12
13
13
## Show or hide header
14
14
15
-
You can use `showHeader` property to enable or disable the chat header. It contains the following options `headerText` and `headerIconCss`.
15
+
You can use [showHeader](../api/chat-ui/chatUIModel/#showheader) property to enable or disable the chat header. It contains the following options headerText and headerIconCss.
16
16
17
17
{% tabs %}
18
18
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -27,7 +27,7 @@ You can use `showHeader` property to enable or disable the chat header. It conta
27
27
28
28
### Setting header text
29
29
30
-
You can use the `headerText` property to display the text that appears in the header, which indicates the current username or the group name providing the context for the conversation.
30
+
You can use the [headerText](../api/chat-ui/chatUIModel/#headertext) property to display the text that appears in the header, which indicates the current username or the group name providing the context for the conversation.
31
31
32
32
{% tabs %}
33
33
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -42,7 +42,7 @@ You can use the `headerText` property to display the text that appears in the he
42
42
43
43
### Setting header icon CSS
44
44
45
-
You can use the `headerIconCss` property to customize the styling of the header icon.
45
+
You can use the [headerIconCss](../api/chat-ui/chatUIModel/#headericoncss) property to customize the styling of the header icon.
46
46
47
47
{% tabs %}
48
48
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -57,7 +57,7 @@ You can use the `headerIconCss` property to customize the styling of the header
57
57
58
58
## Toolbar
59
59
60
-
You can render the Chat UI toolbar items by using theitemsproperty in theheaderToolbar.
60
+
You can render the Chat UI toolbar items by using the`items`property in the[headerToolbar](../api/chat-ui/chatUIModel/#headertoolbar).
Copy file name to clipboardExpand all lines: ej2-vue/chat-ui/load-on-demand.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ domainurl: ##DomainURL##
10
10
11
11
# Load on-demand in Vue Chat UI component
12
12
13
-
You can use the `loadOnDemand` property to load messages dynamically when the scroll reaches the top of the message list improving performance and reducing load times, particularly in long conversations. This ensures a smooth user experience by only fetching messages as needed rather than loading the entire conversation at once.
13
+
You can use the [loadOnDemand](../api/chat-ui/chatUIModel/#loadondemand) property to load messages dynamically when the scroll reaches the top of the message list improving performance and reducing load times, particularly in long conversations. This ensures a smooth user experience by only fetching messages as needed rather than loading the entire conversation at once.
14
14
15
15
{% tabs %}
16
16
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
Copy file name to clipboardExpand all lines: ej2-vue/chat-ui/messages.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The Chat UI allows to add messages using the `e-message` tag directive. The me
14
14
15
15
## Configuring Messages
16
16
17
-
You can use the `text` property to add message content for the user. Each message can be configured with options such as id, text, author, timestamp, and more.
17
+
You can use the [text](../api/chat-ui/messageModel/#text) property to add message content for the user. Each message can be configured with options such as id, text, author, timestamp, and more.
18
18
19
19
{% tabs %}
20
20
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -29,9 +29,9 @@ You can use the `text` property to add message content for the user. Each messa
29
29
30
30
### Defining current user
31
31
32
-
You can use the `author` property to identify the current user of the chat. Each user can be configured with options such as id, user, avatarUrl, and more.
32
+
You can use the [author](../api/chat-ui/messageModel/#author) property to identify the current user of the chat. Each user can be configured with options such as id, user, avatarUrl, and more.
33
33
34
-
> You can use the `user` property to display the user name and `id` property is necessary to differentiate between the multiple users.
34
+
> You can use the [user](../api/chat-ui/userModel/#user) property to display the user name and [id](../api/chat-ui/userModel/#id) property is necessary to differentiate between the multiple users.
35
35
36
36
{% tabs %}
37
37
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -46,7 +46,7 @@ You can use the `author` property to identify the current user of the chat. Each
46
46
47
47
#### Setting avatar URL
48
48
49
-
You can use the `avatarUrl` property to define the image URL’s for the user avatar. If no URL is provided, fallback initials of the first and last name from the user’s name will be used.
49
+
You can use the [avatarUrl](../api/chat-ui/userModel/#avatarurl) property to define the image URL’s for the user avatar. If no URL is provided, fallback initials of the first and last name from the user’s name will be used.
50
50
51
51
{% tabs %}
52
52
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -61,7 +61,7 @@ You can use the `avatarUrl` property to define the image URL’s for the user av
61
61
62
62
#### Setting avatar background color
63
63
64
-
You can use the `avatarBgColor` property to set a specific background color for user avatars using hexadecimal values. If no color is set, a custom background color is set based on specified theme.
64
+
You can use the [avatarBgColor](../api/chat-ui/userModel/#avatarbgcolor) property to set a specific background color for user avatars using hexadecimal values. If no color is set, a custom background color is set based on specified theme.
65
65
66
66
{% tabs %}
67
67
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -76,7 +76,7 @@ You can use the `avatarBgColor` property to set a specific background color for
76
76
77
77
#### Setting CSS class
78
78
79
-
You can use the cssClass property to customize the appearance of the chat user.
79
+
You can use the [cssClass](../api/chat-ui/userModel/#cssclass) property to customize the appearance of the chat user.
80
80
81
81
{% tabs %}
82
82
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -91,7 +91,7 @@ You can use the cssClass property to customize the appearance of the chat user.
91
91
92
92
## Define timestamp
93
93
94
-
You can use the `timeStamp` property to indicate the date and time of each message being sent. By default it is set to the current date and time when the message is sent.
94
+
You can use the [timeStamp](../api/chat-ui/messageModel/#timestamp) property to indicate the date and time of each message being sent. By default it is set to the current date and time when the message is sent.
95
95
96
96
{% tabs %}
97
97
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -106,7 +106,7 @@ You can use the `timeStamp` property to indicate the date and time of each messa
106
106
107
107
### Setting timestamp format
108
108
109
-
You can use the `timeStampFormat` to display specific time format for the timestamp. The default format is `dd/MM/yyyy hh:mm a`, but this can be customized to meet different localization and display needs.
109
+
You can use the [timeStampFormat](../api/chat-ui/messageModel/#timestampformat) to display specific time format for the timestamp. The default format is `dd/MM/yyyy hh:mm a`, but this can be customized to meet different localization and display needs.
110
110
111
111
{% tabs %}
112
112
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -121,11 +121,11 @@ You can use the `timeStampFormat` to display specific time format for the timest
121
121
122
122
## Define message status
123
123
124
-
You can use the `status` property to update the status for the message(e.g., sent, received, read). It helps in managing message delivery and read receipts within the chat interface.
124
+
You can use the [status](../api/chat-ui/messageModel/#status) property to update the status for the message(e.g., sent, received, read). It helps in managing message delivery and read receipts within the chat interface.
125
125
126
126
### Setting icon CSS
127
127
128
-
You can use the `iconCss` property to update the styling of status icons associated with messages, aiding visual differentiation between statuses.
128
+
You can use the [iconCss](../api/chat-ui/messageStatusModel/#iconcss) property to update the styling of status icons associated with messages, aiding visual differentiation between statuses.
129
129
130
130
{% tabs %}
131
131
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -140,7 +140,7 @@ You can use the `iconCss` property to update the styling of status icons associa
140
140
141
141
### Setting text
142
142
143
-
You can use the `text` property to provide information about the messages through descriptive text, providing users with the context of the message.
143
+
You can use the [text](../api/chat-ui/messageStatusModel/#text) property to provide information about the messages through descriptive text, providing users with the context of the message.
144
144
145
145
{% tabs %}
146
146
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -155,7 +155,7 @@ You can use the `text` property to provide information about the messages throug
155
155
156
156
### Setting tooltip
157
157
158
-
You can use the `tooltip` property to provide information about the messages by tooltips while hovering the status icon, providing users with additional data upon hovering.
158
+
You can use the [tooltip](../api/chat-ui/messageStatusModel/#tooltip) property to provide information about the messages by tooltips while hovering the status icon, providing users with additional data upon hovering.
159
159
160
160
{% tabs %}
161
161
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
@@ -170,7 +170,7 @@ You can use the `tooltip` property to provide information about the messages by
170
170
171
171
## Setting autoscroll
172
172
173
-
You can use the `autoScrollToBottom` property to automatically scroll the chats when a new message is received in a conversation. By default, the value is false, requires manual scrolling or the FAB button to quick access to the bottom of the view.
173
+
You can use the [autoScrollToBottom](../api/chat-ui/chatUIModel/#autoscrolltobottom) property to automatically scroll the chats when a new message is received in a conversation. By default, the value is false, requires manual scrolling or the FAB button to quick access to the bottom of the view.
174
174
175
175
- By default, it scrolls to bottom for each message being sent or when the scroll is maintained at the bottom in the chat, in order to prevent the automatic scroll for different user messages you can use the `autoScrollToBottom` property.
176
176
@@ -187,7 +187,7 @@ You can use the `autoScrollToBottom` property to automatically scroll the chats
187
187
188
188
## Setting suggestions
189
189
190
-
You can use the `suggestions` property, to add the suggestions in both initial and on-demand which help users to quick-reply options above the input field.
190
+
You can use the [suggestions](../api/chat-ui/chatUIModel/#suggestions) property, to add the suggestions in both initial and on-demand which help users to quick-reply options above the input field.
191
191
192
192
{% tabs %}
193
193
{% highlight html tabtitle="Composition API (~/src/App.vue)" %}
0 commit comments