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-react/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#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 js tabtitle="index.jsx" %}
@@ -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#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 js tabtitle="index.jsx" %}
@@ -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#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 js tabtitle="index.jsx" %}
@@ -57,7 +57,7 @@ You can use the `height` property to specify the dimensions of the Chat UI withi
57
57
58
58
## CSS Class
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#cssclass) property to customize the appearance of the chat UI component.
Copy file name to clipboardExpand all lines: ej2-react/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 @@ npm start
145
145
146
146
## Configure messages and user
147
147
148
-
You can use the `MessagesDirective` tag to group all the messages and `MessageDirective` tag to define each message and the `user` property to configure the current user for the chat.
148
+
You can use the `MessagesDirective` tag to group all the messages and `MessageDirective` tag to define each message and the [user](../api/chat-ui#user) property to configure the current user for the chat.
Copy file name to clipboardExpand all lines: ej2-react/chat-ui/globalization.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -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#enablertl) property to `true`.
Copy file name to clipboardExpand all lines: ej2-react/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#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 js tabtitle="index.jsx" %}
@@ -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#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 js tabtitle="index.jsx" %}
@@ -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#headericoncss) property to customize the styling of the header icon.
46
46
47
47
{% tabs %}
48
48
{% highlight js tabtitle="index.jsx" %}
@@ -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 theitemsproperty in the[headerToolbar](../api/chat-ui#headertoolbar).
Copy file name to clipboardExpand all lines: ej2-react/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 React 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#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.
Copy file name to clipboardExpand all lines: ej2-react/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 `MessagesDirective` tag. The mess
14
14
15
15
## Configure 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 js tabtitle="index.jsx" %}
@@ -29,9 +29,9 @@ You can use the `text` property to add message content for the user. Each messa
29
29
30
30
### Define 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 js tabtitle="index.jsx" %}
@@ -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 js tabtitle="index.jsx" %}
@@ -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 `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 [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 js tabtitle="index.jsx" %}
@@ -76,7 +76,7 @@ You can use `avatarBgColor` property to set a specific background color for user
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 js tabtitle="index.jsx" %}
@@ -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 js tabtitle="index.jsx" %}
@@ -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 js tabtitle="index.jsx" %}
@@ -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 js tabtitle="index.jsx" %}
@@ -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 js tabtitle="index.jsx" %}
@@ -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 js tabtitle="index.jsx" %}
@@ -170,7 +170,7 @@ You can use the `tooltip` property to provide information about the messages by
170
170
171
171
## Setting auto scroll
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#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#suggestions) property, to add the suggestions in both initial and on-demand which help users to quick-reply options above the input field.
Copy file name to clipboardExpand all lines: ej2-react/chat-ui/methods.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ domainurl: ##DomainURL##
12
12
13
13
## Adding message
14
14
15
-
You can use the `addMessage` public method to add the messages in the Chat UI. You can add it either as a string or MessageModel collection. It programmatically adds a new message to the chat.
15
+
You can use the [addMessage](../api/chat-ui#addmessage) public method to add the messages in the Chat UI. You can add it either as a string or MessageModel collection. It programmatically adds a new message to the chat.
16
16
17
17
{% tabs %}
18
18
{% highlight js tabtitle="index.jsx" %}
@@ -38,7 +38,7 @@ You can use the `addMessage` public method to add the messages in the Chat UI. Y
38
38
39
39
## Edit message
40
40
41
-
You can use the `updateMessage` public method to update the messages in the ChatUI to modify an existing message within the chat, useful for editing or correcting sent messages.
41
+
You can use the [updateMessage](../api/chat-ui#updatemessage) public method to update the messages in the ChatUI to modify an existing message within the chat, useful for editing or correcting sent messages.
42
42
43
43
{% tabs %}
44
44
{% highlight js tabtitle="index.jsx" %}
@@ -53,7 +53,7 @@ You can use the `updateMessage` public method to update the messages in the Chat
53
53
54
54
## Scroll to bottom
55
55
56
-
You can use the `scrollToBottom` public method to scroll the chat view to the latest message, ensuring users see the new content updated.
56
+
You can use the [scrollToBottom](../api/chat-ui#scrolltobottom) public method to scroll the chat view to the latest message, ensuring users see the new content updated.
0 commit comments