I think the generally adopted pattern is to schedule a task 100 or 250ms
away, and reschedule it on each scroll event (use a c.g.g.user.client.Timer
to be able to reschedule it).
Ideally, you'd also use a "passive event listener", but GWT doesn't expose
it: https://blog.chromium.org/2016/05/new-
Is there any way to implement scroll bar with mouse listeners? Bottom line,
I want to send the request while doing scrolling. I meant last scrolling
height to server if scrolling is delayed for 100 ms or stopped.
On Friday, 22 July 2016 12:12:57 UTC+5:30, DavidN wrote:
>
> maybe you could liste
> Is there any way to implement scroll bar with mouse listeners? Bottom
> line, I want to send the request while doing scrolling. I meant last
> scrolling height to server if scrolling is delayed for 100 ms or stopped.
>
Just do what Thomas has suggested. Listen for ScrollEvent and do
void on