com.gwidgets.api.leaflet.elemental.Element Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwty-leaflet Show documentation
Show all versions of gwty-leaflet Show documentation
a JsInterop wrapper for the Leaflet js library
package com.gwidgets.api.leaflet.elemental;
import static jsinterop.annotations.JsPackage.GLOBAL;
import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
@JsType(isNative=true, namespace = GLOBAL)
public class Element extends Node{
@JsProperty
public String innerHTML;
@JsProperty
public String outerHTML;
@JsProperty
public String id;
@JsProperty
public Function onload;
@JsMethod
public native void setAttribute(String attribute, String value);
}