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

com.github.xpenatan.gdx.backends.teavm.dom.EventTargetWrapper Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package com.github.xpenatan.gdx.backends.teavm.dom;

import org.teavm.jso.JSObject;

/**
 * @author xpenatan
 */
public interface EventTargetWrapper extends JSObject {
    // EventTarget
    void addEventListener(String type, EventListenerWrapper listener);
    void addEventListener(String type, EventListenerWrapper listener, boolean capture);
    void removeEventListener(String type, EventListenerWrapper listener);
    void removeEventListener(String type, EventListenerWrapper listener, boolean capture);
    boolean dispatchEvent(EventWrapper event);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy