Tuesday, November 27, 2012

Re: GWT Window Scroll Bottom hit detection

 
Want to handle the event of Window.ScrollEvent  which belongs to the Explorer Application like iExplorer, Safari, Mozilla etc..
if try to use a panel or similar .. than i can do the calculations with getScrollHeight ( which is not available on window.ScrollEvent )
 
only available methods are ScrollTop , ScrollLeft , ClientHeight and OffsetHeight
 
 
com.google.gwt.user.client.Window.addWindowScrollHandler(_scrollHandler);
 
 
 
      Window.ScrollHandler _scrollHandler  = new Window.ScrollHandler()
              {
                  @Override
                  public void onWindowScroll(com.google.gwt.user.client.Window.ScrollEvent event) {  .........   }
             };
   

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/_dd6xkz1ClYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment