I would like to achieve a bit the same behavior that we can find in facebook. More you scroll down more it loads content. In order to achieve that I created a Scroller but I see no way to register anything.
Tried also: `scroller.getElement().addEventListener(“scroll”, event → Sout(event)); but… nothing happens never there… any help ? Thank you
I tested the fairly new Scroller component for the first time and I was quite surprised there are no Java methods to track scrolling to the end, not to mention tracking scrolling at all.
Full height is from the “available height” in the parent component. So your parent component should have a fixed height our all parent components should have 100% height.
This and couple of other enhancements to Scroller component now (or technically as soon as Maven central updates are on all servers) available as VScroller extension in Viritin 1.5.2 (in.virit:viritin:1.5.2).