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

elemental2.dom.HTMLImageElement Maven / Gradle / Ivy

The newest version!
package elemental2.dom;
import java.lang.Void;
import jsinterop.annotations.JsFunction;
import elemental2.dom.HTMLElement;
import elemental2.dom.Event;
import java.lang.Object;
import java.lang.String;
import jsinterop.annotations.JsType;
import jsinterop.annotations.JsPackage;
import elemental2.promise.Promise;
@JsType(isNative = true,namespace = JsPackage.GLOBAL)
public class HTMLImageElement extends HTMLElement{
@JsFunction
public interface OnerrorFn{
Object onInvoke(Event p0);
}
@JsFunction
public interface OnloadFn{
Object onInvoke(Event p0);
}
public String align;
public String alt;
public String attributionSrc;
public String border;
public boolean complete;
public String crossOrigin;
public String currentSrc;
public String decoding;
public int height;
public int hspace;
public boolean isMap;
public String longDesc;
public String lowSrc;
public String name;
public int naturalHeight;
public int naturalWidth;
public HTMLImageElement.OnerrorFn onerror;
public HTMLImageElement.OnloadFn onload;
public String sizes;
public String src;
public String srcset;
public String useMap;
public int vspace;
public int width;
public native Promise decode();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy