elemental2.dom.NavigationPreloadManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elemental2-dom Show documentation
Show all versions of elemental2-dom Show documentation
Thin Java abstractions for the native Browser APIs.
package elemental2.dom;
import elemental2.promise.Promise;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class NavigationPreloadManager {
public native Promise disable();
public native Promise enable();
public native Promise getState();
public native Promise setHeaderValue();
public native Promise setHeaderValue(String value);
}