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

elemental2.webassembly.MemoryDescriptor Maven / Gradle / Ivy

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