com.github.xpenatan.gdx.backends.teavm.dom.EventTargetWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backend-teavm Show documentation
Show all versions of backend-teavm Show documentation
Tool to generate libgdx to javascript using teaVM
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