Interface WasmLoadOptions


@JsType(isNative=true, name="ng.WasmLoadOptions", namespace="<global>") public interface WasmLoadOptions
Declarative options for loading one WebAssembly module.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Standard options forwarded to WebAssembly compilation.
    jsinterop.base.JsPropertyMap<jsinterop.base.JsPropertyMap<Object>>
    Imports supplied in addition to the AngularTS reactive ABI.
    URL, request, response, bytes, or compiled WebAssembly module.
    boolean
    Publish lifecycle timing entries through the browser Performance API.
    void
    Standard options forwarded to WebAssembly compilation.
    void
    setDiagnostics(boolean diagnostics)
    Publish lifecycle timing entries through the browser Performance API.
    void
    setImports(jsinterop.base.JsPropertyMap<jsinterop.base.JsPropertyMap<Object>> imports)
    Imports supplied in addition to the AngularTS reactive ABI.
    void
    setSource(Object source)
    URL, request, response, bytes, or compiled WebAssembly module.
  • Method Details

    • create

      @JsOverlay static WasmLoadOptions create()
    • getCompile

      @JsProperty WasmCompileOptions getCompile()
      Standard options forwarded to WebAssembly compilation.
    • getImports

      @JsProperty jsinterop.base.JsPropertyMap<jsinterop.base.JsPropertyMap<Object>> getImports()
      Imports supplied in addition to the AngularTS reactive ABI.
    • getSource

      @JsProperty Object getSource()
      URL, request, response, bytes, or compiled WebAssembly module.
    • isDiagnostics

      @JsProperty boolean isDiagnostics()
      Publish lifecycle timing entries through the browser Performance API.
    • setCompile

      @JsProperty void setCompile(WasmCompileOptions compile)
      Standard options forwarded to WebAssembly compilation.
    • setDiagnostics

      @JsProperty void setDiagnostics(boolean diagnostics)
      Publish lifecycle timing entries through the browser Performance API.
    • setImports

      @JsProperty void setImports(jsinterop.base.JsPropertyMap<jsinterop.base.JsPropertyMap<Object>> imports)
      Imports supplied in addition to the AngularTS reactive ABI.
    • setSource

      @JsProperty void setSource(Object source)
      URL, request, response, bytes, or compiled WebAssembly module.