I'm using GWT 2.3.0 in my project and I have an iframe and a loading
mask. When the iframe content (to be more specific, the content is a
PDF) is loaded I need to hide the loading mask.
I tried using:
Frame frame = new Frame("
http://www.example.com/example.pdf") {{
addDomHandler(new LoadHandler() {
public void onLoad(LoadEvent event) {
loadingMask.setVisible(false);
}
}, LoadEvent.getType());
}};
and:
Frame frame = new Frame("
http://www.example.com/example.pdf") {
@Override
protected void onLoad() {
super.onLoad();
loadingMask.setVisible(false);
}
};
Because of the content is a PDF, both codes don't work in IE.
Is there a way to get the readyState iframe property with GWT?
I would appreciate any feedback. Thanks for all.