File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,25 +57,37 @@ Supported Angular versions: **Angular 15-18**
5757Run this command if you are using ** Angular 18** :
5858
5959``` shell
60- npm install stream-chat-angular ngx-float-ui@beta
60+ npm install stream-chat-angular ngx-float-ui@18
61+
62+ # or
63+ yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@18 @floating-ui/dom
6164```
6265
6366Run this command if you are using ** Angular 17** :
6467
6568``` shell
6669npm install stream-chat-angular ngx-float-ui@17
70+
71+ # or
72+ yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@17 @floating-ui/dom
6773```
6874
6975Run this command if you are using ** Angular 16** :
7076
7177``` shell
7278npm install stream-chat-angular ngx-float-ui@16
79+
80+ # or
81+ yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@16 @floating-ui/dom
7382```
7483
7584Run this command if you are using ** Angular 15** :
7685
7786``` shell
7887npm install stream-chat-angular @ngx-translate/core@14 ngx-float-ui@15
88+
89+ # or
90+ yarn add stream-chat-angular stream-chat @ngx-translate/core@14 angular-mentions ngx-float-ui@15 @floating-ui/dom
7991```
8092
8193Supported node verisons: 18+
Original file line number Diff line number Diff line change @@ -33,28 +33,40 @@ We recommend using the component library through a package manager. Stream Chat
3333Run this command if you are using ** Angular 18** :
3434
3535``` shell
36- npm install stream-chat-angular ngx-float-ui@beta
36+ npm install stream-chat-angular ngx-float-ui@18
37+
38+ # or
39+ yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@18 @floating-ui/dom
3740```
3841
3942Run this command if you are using ** Angular 17** :
4043
4144``` shell
4245npm install stream-chat-angular ngx-float-ui@17
46+
47+ # or
48+ yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@17 @floating-ui/dom
4349```
4450
4551Run this command if you are using ** Angular 16** :
4652
4753``` shell
4854npm install stream-chat-angular ngx-float-ui@16
55+
56+ # or
57+ yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@16 @floating-ui/dom
4958```
5059
5160Run this command if you are using ** Angular 15** :
5261
5362``` shell
5463npm install stream-chat-angular @ngx-translate/core@14 ngx-float-ui@15
64+
65+ # or
66+ yarn add stream-chat-angular stream-chat @ngx-translate/core@14 angular-mentions ngx-float-ui@15 @floating-ui/dom
5567```
5668
57- Supported node verisons : 18+
69+ Supported Node versions : 18+
5870
5971## Tutorial
6072
Original file line number Diff line number Diff line change @@ -59,29 +59,41 @@ Want to see it all in action? Check out [the demo application](https://angular-c
5959<Tabs groupId = " examples" >
6060<TabItem value = " Angular18" label = " Angular 18" >
6161
62- ``` bash
63- npm install stream-chat-angular ngx-float-ui@beta
62+ ``` shell
63+ npm install stream-chat-angular ngx-float-ui@18
64+
65+ # or
66+ yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@18 @floating-ui/dom
6467```
6568
6669</TabItem >
6770<TabItem value = " Angular17" label = " Angular 17" >
6871
69- ``` bash
72+ ``` shell
7073npm install stream-chat-angular ngx-float-ui@17
74+
75+ # or
76+ yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@17 @floating-ui/dom
7177```
7278
7379</TabItem >
7480<TabItem value = " Angular16" label = " Angular 16" >
7581
76- ``` bash
82+ ``` shell
7783npm install stream-chat-angular ngx-float-ui@16
84+
85+ # or
86+ yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@16 @floating-ui/dom
7887```
7988
8089</TabItem >
8190<TabItem value = " Angular15" label = " Angular 15" >
8291
83- ``` bash
92+ ``` shell
8493npm install stream-chat-angular @ngx-translate/core@14 ngx-float-ui@15
94+
95+ # or
96+ yarn add stream-chat-angular stream-chat @ngx-translate/core@14 angular-mentions ngx-float-ui@15 @floating-ui/dom
8597```
8698
8799</TabItem >
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ title: Channel list state
55---
66
77import ChannelList from " ../assets/channel-list.png" ;
8+ import MultiChannelList from " ../assets/multi-channel-list.png" ;
89
910This guide describes the behaviour of the channel list, and shows how you can customize it. The channel list is controlled by the [ ` ChannelService ` ] ( ../../services/ChannelService/ ) .
1011
@@ -282,20 +283,7 @@ It's important to note that you should make sure that the channel you add is wat
282283
283284Sometimes we need to show multiple separate channel lists. For example: we want to show 1:1 conversations and team chats in two separate tabs.
284285
285- <iframe
286- loading = " lazy"
287- src = " https://zptmyv-4200.csb.app/"
288- style = { {
289- width: " 100%" ,
290- height: " 500px" ,
291- border: " 0" ,
292- borderRadius: " 4px" ,
293- overflow: " hidden" ,
294- }}
295- title = " Stream Chat Angular Multi-channel list Example"
296- allow = " accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
297- sandbox = " allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
298- />
286+ <img src = { MultiChannelList } />
299287
300288Here are the necessary steps to achieve this:
301289
You can’t perform that action at this time.
0 commit comments