Example of Load On-demand in Javascript Chat UI Control

/
/
Load On-demand

This sample demonstrates the load on-demand feature of the Chat UI control to render a large number of data's.

More Details...

Description

In this example, the chat messages are the list of conversations between two users allowing to scroll through their conversation history. The loadOnDemand property allows you to load more messages on demand, improving the performance and reducing load times, particularly in long conversations. Only the visible conversations are render, reducing the amount of DOM elements and improving the overall performance.