How to use windows scroll event ?

48 views
Skip to first unread message

regnoult axel

unread,
Aug 7, 2012, 5:16:56 PM8/7/12
to google-we...@googlegroups.com
Hello,

I am trying the following code in the constructor of a Presenter (cf. GWTP):

Window.addWindowScrollHandler(new Window.ScrollHandler() {

@Override
public void onWindowScroll(ScrollEvent event) {
Window.alert("SCROLLED");
}
});

...but it does not work. Should I write more code to have it running ?

Thanks you,

Reply all
Reply to author
Forward
0 new messages