
elemental2.webassembly.MemoryDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elemental2-webassembly Show documentation
Show all versions of elemental2-webassembly Show documentation
Thin Java abstractions for the native Web Assembly APIs.
The newest version!
package elemental2.webassembly;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
import jsinterop.base.Js;
import jsinterop.base.JsPropertyMap;
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public interface MemoryDescriptor {
@JsOverlay
static MemoryDescriptor create() {
return Js.uncheckedCast(JsPropertyMap.of());
}
@JsProperty
int getInitial();
@JsProperty
int getMaximum();
@JsProperty
void setInitial(int initial);
@JsProperty
void setMaximum(int maximum);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy