title: Load new content when user scrolls to the bottom using Dojo?
body: <p>Loading new content in a HTML page when users reach the bottom is quite popular (FB, G+, Twitter), so I want to implement that in XPages (which uses Dojo) too. Looking on SO (and close by) I find questions around JQuery and/or generic <a href="https://stackoverflow.com/questions/3057892/checking-is-near-at-the-bottom-of-the-page">here</a> and <a href="https://stackoverflow.com/questions/9247907/how-do-i-make-content-load-when-the-user-scrolls-down-to-it">here</a> and <a href="https://stackoverflow.com/questions/5020351/how-to-load-the-web-page-content-based-on-user-scrolling">here</a> and <a href="https://stackoverflow.com/questions/6271237/detecting-when-user-scrolls-to-bottom-of-div-with-jquery">here</a> and  <a href="https://stackoverflow.com/questions/5609255/javascript-jquery-perform-function-when-user-scrolls-near-bottom-of-page">here</a> and  <a href="http://ejohn.org/blog/learning-from-twitter/" rel="nofollow noreferrer">here</a> and  <a href="http://jsfiddle.net/wQfMx/" rel="nofollow noreferrer">here</a> and  <a href="https://stackoverflow.com/questions/3863069/how-do-you-call-a-javascript-ajax-function-when-the-user-reaches-the-end-of-a">here</a> and  <a href="https://stackoverflow.com/questions/487073/jquery-check-if-element-is-visible-after-scrolling">here</a> and  <a href="http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/" rel="nofollow noreferrer">here</a>, just to name a few.</p>
  
  <p>But how would one do that in Dojo? </p>