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

elemental2.dom.HTMLImageElement Maven / Gradle / Ivy

There is a newer version: 1.0.139
Show newest version
package elemental2.dom;

import jsinterop.annotations.JsFunction;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;

@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 border;
  public boolean complete;
  public String crossOrigin;
  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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy