VirtualizedMessageListService
The VirtualizedMessageListService
removes messages from the message list that are currently not in view
Hierarchy
VirtualizedListService
<StreamMessage
>↳
VirtualizedMessageListService
Properties
queryState$
queryState$: Observable
<VirtualizedListQueryState
>
The result of the last query used to load more items
Inherited from
VirtualizedListService.queryState$
Defined in
projects/stream-chat-angular/src/lib/virtualized-list.service.ts:46
virtualizedItems$
virtualizedItems$: Observable
<StreamMessage
<DefaultStreamChatGenerics
>[]>
The items that should be currently displayed, a subset of all items
Inherited from
VirtualizedListService.virtualizedItems$
Defined in
projects/stream-chat-angular/src/lib/virtualized-list.service.ts:42
Accessors
virtualizedItems
get
virtualizedItems(): T
[]
The current value of virtualized items
Returns
T
[]
Inherited from
VirtualizedListService.virtualizedItems
Defined in
projects/stream-chat-angular/src/lib/virtualized-list.service.ts:355
Methods
dispose
dispose(): void
Remove all subscriptions, call this once you’re done using an instance of this service
Returns
void
Inherited from
VirtualizedListService.dispose
Defined in
projects/stream-chat-angular/src/lib/virtualized-list.service.ts:362