Class EventTarget

java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.dom.client.EventTarget

public class EventTarget extends JavaScriptObject
Represents the target of a JavaScript event.

This type is returned from methods such as NativeEvent.getEventTarget(), and must usually be cast to another type using methods such as Element.is(JavaScriptObject) and Element.as(JavaScriptObject).

This class intentionally does not specify the methods from the DOM IDL (dispatchEvent, addEventListener, and removeEventListener).

  • Constructor Details

    • EventTarget

      protected EventTarget()