Interface WasmBindingOptions


@JsType(isNative=true, name="ng.WasmBindingOptions", namespace="<global>") public interface WasmBindingOptions
Options for binding one reactive target to a WebAssembly guest.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Stable name exposed to the guest.
    elemental2.core.JsArray<String>
    Reactive paths delivered to the guest's update callback.
    boolean
    Deliver each watched path's current value when binding.
    void
    setInitial(boolean initial)
    Deliver each watched path's current value when binding.
    void
    Stable name exposed to the guest.
    void
    setWatch(elemental2.core.JsArray<String> watch)
    Reactive paths delivered to the guest's update callback.
  • Method Details

    • create

      @JsOverlay static WasmBindingOptions create()
    • getName

      @JsProperty String getName()
      Stable name exposed to the guest.
    • getWatch

      @JsProperty elemental2.core.JsArray<String> getWatch()
      Reactive paths delivered to the guest's update callback.
    • isInitial

      @JsProperty boolean isInitial()
      Deliver each watched path's current value when binding. Defaults to `true`.
    • setInitial

      @JsProperty void setInitial(boolean initial)
      Deliver each watched path's current value when binding. Defaults to `true`.
    • setName

      @JsProperty void setName(String name)
      Stable name exposed to the guest.
    • setWatch

      @JsProperty void setWatch(elemental2.core.JsArray<String> watch)
      Reactive paths delivered to the guest's update callback.