Skip to content

Commit f7f208e

Browse files
committed
Added disableUserToggle to demo and readme.
1 parent 8b2137b commit f7f208e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Vue.use(Chat)
6363
:showCloseButton="true"
6464
:colors="colors"
6565
:alwaysScrollToBottom="alwaysScrollToBottom"
66+
:disableUserListToggle="false"
6667
:messageStyling="messageStyling"
6768
@onType="handleOnType"
6869
@edit="editMessage" />
@@ -184,6 +185,7 @@ For more detailed examples see the demo folder.
184185
| showEdition | Boolean | A bool indicating whether or not to show the delete button for a message
185186
| showTypingIndicator | String | A string that can be set to a user's participant.id to show `typing` indicator for them
186187
| showHeader | Boolean | A bool indicating whether or not to show the header of chatwindow
188+
| disableUserListToggle | Boolean | A bool indicating whether or not to allow the user to toggle between message list and participants list
187189
| colors | Object | An object containing the specs of the colors used to paint the component. [See here](#faq)
188190
| messageStyling | Boolean | A bool indicating whether or not to enable `msgdown` support for message formatting in chat. [See here](#faq)
189191

demo/src/App.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
:showConfirmationDeletion="true"
2626
:confirmationDeletionMessage="'Are you sure? (you can customize this message)'"
2727
:titleImageUrl="titleImageUrl"
28+
:disableUserListToggle="false"
2829
@onType="handleOnType"
2930
@edit="editMessage"
3031
@remove="removeMessage"

0 commit comments

Comments
 (0)