we usually use $(window).scrollTop() to detect how far the page has been scrolled. Is there a equivalent for scrollable elements?
Say I set html to overflow hidden, and body to overflow scroll, now I want to detect $('body').scrollTop() I will always get 0.
P.S. this is useful for mobile site development.
Here is a plunker:
<html>which isn't commonissue across angular material framework