Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.44 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.44 KB

GWT Event DOM

GWT3/J2CL compatible License Chat on Gitter CI

A future-proof port of the com.google.gwt.event.EventDOM GWT module, with no dependency on gwt-user (besides the Java Runtime Emulation), to prepare for GWT 3 / J2Cl.

Migrating from com.google.gwt.event.EventDOM

<dependency>
    <groupId>org.gwtproject.event</groupId>
    <artifactId>gwt-event-dom</artifactId>
    <version>1.0-SNAPSHOT</version>
</dependency>

For Gradle:

```gradle
implementation("org.gwtproject.event:gwt-event-dom:HEAD-SNAPSHOT")
  1. Update your GWT module to use

    <inherits name="org.gwtproject.event.EventDOM" />
  2. Change the imports in your Java source files:

    import org.gwtproject.event.dom.client.BlurEvent;

Instructions

To build gwt-event-dom:

  • run mvn clean verify

on the parent directory. This will build the artifact and run tests against the JVM, J2CL, and GWT2.

System Requirements

GWT Event DOM requires GWT 2.9.0 or newer!

Dependencies

GWT Event DOM depends on the following modules:

  • gwt-dom
  • gwt-event
  • gwt-event-legacy