I have following markup structure.
<div class="content-wrapper">
<div class="content">...</div>
<div class="content">...</div>
<div class="content">...</div>
</div>
Now, class content-wrapper
is set to have only 80%
height of total client-area of page, and has overflow-y
set to auto
to have a scrollbar when its body doesn't fit in. Note that the inner divs content
can be for any number of times. So, question is how can I check if content-wrapper
is fully scrolled?
Hint:
Imagine a dynamically loading news feed, where new content is fetched and appended to body of container automatically when container is fully scrolled.
content
divs varies. – Staunch