All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elemental2.dom.Event Maven / Gradle / Ivy

The newest version!
package elemental2.dom;
import elemental2.dom.Element;
import jsinterop.annotations.JsFunction;
import jsinterop.annotations.JsOverlay;
import java.lang.String;
import jsinterop.annotations.JsType;
import jsinterop.annotations.JsPackage;
import elemental2.dom.EventInit;
import elemental2.core.JsArray;
import elemental2.dom.EventTarget;
@JsType(isNative = true,namespace = JsPackage.GLOBAL)
public class Event{
@JsFunction
public interface DeepPathFn{
JsArray onInvoke();
}
@JsOverlay
public static final int AT_TARGET=Event__Constants.AT_TARGET;
@JsOverlay
public static final int BUBBLING_PHASE=Event__Constants.BUBBLING_PHASE;
@JsOverlay
public static final int CAPTURING_PHASE=Event__Constants.CAPTURING_PHASE;
public boolean bubbles;
public boolean cancelable;
public boolean composed;
public EventTarget currentTarget;
public Event.DeepPathFn deepPath;
public boolean defaultPrevented;
public int eventPhase;
public String namespaceURI;
public JsArray path;
public EventTarget target;
public double timeStamp;
public String type;
public Event(String type,EventInit eventInitDict){}
public Event(String type){}
public native JsArray composedPath();
public native void initEvent(String eventTypeArg,boolean canBubbleArg,boolean cancelableArg);
public native void initEvent(String eventTypeArg,boolean canBubbleArg);
public native void initEvent(String eventTypeArg);
public native void preventDefault();
public native void stopImmediatePropagation();
public native void stopPropagation();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy