1

Is it possible to convert a com.google.gwt.dom.client.Event to a elemental.dom.Element? Or vice versa?

Same question for events.

matt.hallman
  • 141
  • 1
  • 6

1 Answers1

3

Yes, because they represent the same browser types and are not wrappers (extend from JavaScriptObject, or will use JsInterop in Elemental 2); use .cast() or a Java cast.

Thomas Broyer
  • 64,353
  • 7
  • 91
  • 164