David
unread,Nov 9, 2011, 8:49:12 AM11/9/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Most browsers have a built in fullscreen mode via the F11 key.
I have a requirement to add a "full screen mode" button to my gwt app
and am looking for a way to fire the F11 Event
F11_KEY = 122;
NativeEvent f11Event = Document.get().createKeyPressEvent(false,
false, false, false, F11_KEY);
Both of these solutions don't seem to work:
1) DomEvent.fireNativeEvent(f11Event, this);
2) ..getElement().dispatchEvent(f11Event);
Has anyone tried this before?
Thanks
David