Info:
This is documentation for Stream Chat Angular SDK v5, which is no longer actively maintained. For up-to-date documentation, see the latest version (v7).

VirtualizedMessageListService

The VirtualizedMessageListService removes messages from the message list that are currently not in view

Hierarchy

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

Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat Angular v5: <Your Question>