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.
Copyright © 2021 Jogjafile Inc.
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.