Elemental2 provides type checked access to browser APIs for Java code. This is done by using closure extern files and generating JsTypes, which are part of the new JsInterop specification that is both implemented in GWT and J2CL.
https://github.com/google/elemental2 This is an unofficial release to Maven Central under a different groupId. Please don't bug the original authors. Versions are released on demand. Unfortunately 2.22 was released with a patch incorrectly applied that led to DomGlobal.location and Window.location being incorrectly typed. This subsequent release just removes the incorrect patch to fix the types. API Changes relative to Elemental2 version 2.22 elemental2-dom: API Differences: https://jsinterop.github.io/api-diff/?key=elemental2-dom&title=Elemental2&old=2.22&new=2.23 - 1 non breaking changes. - 2 breaking changes. The complete set of Elemental2 API differences is available at https://jsinterop.github.io/api-diff/?key=elemental2&title=Elemental2&old=2.22&new=2.23 The Maven dependencies can be added to your pom.xml via <dependency> <groupId>org.realityforge.com.google.elemental2</groupId> <artifactId>${artifact-id}</artifactId> <version>2.23</version> </dependency> where artifact-id is one of * elemental2-core * elemental2-dom * elemental2-promise * elemental2-indexeddb * elemental2-svg * elemental2-webgl * elemental2-media * elemental2-webstorage * elemental2-webassembly Hope this helps, Peter Donald -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
