Is it possible to convert a com.google.gwt.dom.client.Event
to a elemental.dom.Element
? Or vice versa?
Same question for events.
Is it possible to convert a com.google.gwt.dom.client.Event
to a elemental.dom.Element
? Or vice versa?
Same question for events.
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.