
elemental2.dom.ProgressEventInit Maven / Gradle / Ivy
package elemental2.dom;
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 ProgressEventInit extends EventInit {
@JsOverlay
static ProgressEventInit create() {
return Js.uncheckedCast(JsPropertyMap.of());
}
@JsProperty
double getLoaded();
@JsProperty
double getTotal();
@JsProperty
boolean isLengthComputable();
@JsProperty
void setLengthComputable(boolean lengthComputable);
@JsProperty
void setLoaded(double loaded);
@JsProperty
void setTotal(double total);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy