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

com.google.gwt.angular.client.impl.JsScopeBase Maven / Gradle / Ivy

There is a newer version: 1.1.3
Show newest version
package com.google.gwt.angular.client.impl;

import com.google.gwt.angular.client.Scope;
import com.google.gwt.angular.client.WatchFunction;

/**
 * Base class of generated scopes.
 */
public class JsScopeBase> extends JsModelBase implements Scope {
  protected JsScopeBase() {
  }

  final public native  void $watch(String expr, WatchFunction func, boolean objEq) /*-{
      this.$watch(expr, function (newVal) {
          [email protected]::exec(Ljava/lang/Object;)(newVal);
      }, objEq);
  }-*/;

  final public  void $watch(String expr, WatchFunction func) {
    $watch(expr, func, false);
  }

  final public native void $apply(String expr) /*-{
      this.$apply(expr);
  }-*/;
}