const isInStandaloneMode = () => ('standalone' in window.navigator) && (window.navigator.standalone);
However there appears to be no DomGlobal.window.navigator.standalone object in Elemental2, as I'm guessing it has not been standardised.
So my question is, is there a recommended way to define this object so that I can replicate the above javascript without resorting to JSNI? Or is there another way to achieve this?
Thanks
-- You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/af6b6265-fdca-4b67-915e-b1389f76798cn%40googlegroups.com.
No comments:
Post a Comment