Skip to main content

scrollToLastMessage

function scrollToLastMessage(scrollbarRef, animateScroll): void;

Scrolls to last chat message

Parameters

ParameterTypeDefault valueDescription
scrollbarRefRefObject<IScrollbars>undefinedRef to IScrollbars instance
animateScrollbooleantruewhether to animate the scrolling

Returns

void