Interface Model.WatchListener

Enclosing interface:
Model<T>

@JsFunction public static interface Model.WatchListener
TypeScript callback contract for this method.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onInvoke(Object newValue, Object originalTarget)
    Invokes the WatchListener callback.
  • Method Details

    • onInvoke

      void onInvoke(Object newValue, Object originalTarget)
      Invokes the WatchListener callback.
      Parameters:
      newValue - Value supplied for the newValue parameter.
      originalTarget - Value supplied for the originalTarget parameter.