there seems to be no way in GWT to get the iframe scrollEvent.
-- I tried
(com.google.gwt.dom.client.IFrameElement)frame.addDomHandler(new ScrollHandler() {
@Override
public void onScroll(ScrollEvent event) {
// do something
}
}, ScrollEvent.getType());
but the event does not fire when scrolling
inside the iframe, you can get
Document document = iframe.getContentDocument();
but it does not have methods for adding listeners. there is no method for returning the contentWindow like in javascript.
any one knows any way to get the iframe scroll event?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment