I have been using GWT for a while but I am new to elemental2, I have tried the following code to create new navigator object in GWT:
-- import elemental2.dom.Navigator;
and for entrypoint
private Navigator Nav = new Navigator();
the following are the first several lines of the error message I got during compile:
[ERROR] elemental2.dom.Navigator cannot be resolved to a type
[ERROR] Errors in 'elemental2/dom/Navigator.java'
[ERROR] elemental2.dom.ServiceWorkerContainer cannot be resolved to a type
[ERROR] Errors in 'elemental2/dom/BatteryManager.java'
[ERROR] elemental2.dom.EventTarget cannot be resolved to a type
can anyone help?
Thanks,
Joe
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment