Is there a way to write a backbone.js view method that automatically scrolls down a DOM element with CSS overflow?
Let's assume we have created an overflow div with the id "overflowdiv"
<div id="overflowdiv"></div>
This div is filled from a template with messages. I understand the connection between models, collections, and views to some extent.
In any case, it's possible to create custom functions for views using backbone. Is there a method to utilize such a function to target the "overflowdiv" element and update it every time a fetch or other update event occurs that affects "overflowdiv"?
If necessary, I can provide additional information to make answering easier.