InfiniteScroll
Scrollable container that runs a method when the user reaches the end, so more content can be loaded and appended while reading
Configuration:
parent {String}a parent element due to height of container (default:parent)margin {Number}a margin forheight(default:0px)padding {Number}a bottom scroll padding for performing of reading (default:50px)autoscroll {Number}automatically scrolls container if the content is added (default:100px)exec {String}a link to the method which is executed if the scrollbar is at the end, look into the implementation below:
function method_append(next, element, init) {
// @next {Function(new_content)}
// @element {jQuery}
// @init {Boolean} Is the component initialized?
// element.append(...);
// or
next('NEW_HTML_CONTENT_or_RAW_NODE_ELEMENT');
}



