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

net.java.html.lib.angular.IAngularEvent Maven / Gradle / Ivy

package net.java.html.lib.angular;
public class IAngularEvent extends net.java.html.lib.Objs {
  protected IAngularEvent(net.java.html.lib.Objs.Constructor c, java.lang.Object js) {
    super(c, js);
  }
  private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
    $Constructor() {
      super(IAngularEvent.class);
    }
    @Override
    public IAngularEvent create(java.lang.Object obj) {
      return obj == null ? null : new IAngularEvent(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static IAngularEvent $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  /**
  * the scope on which the event was $emit-ed or $broadcast-ed.
  */
  public net.java.html.lib.Objs.Property targetScope = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.angular.IScope.class, "targetScope");
  public IScope targetScope() { return targetScope.get(); }
  /**
  * the scope that is currently handling the event. Once the event propagates through the scope hierarchy, this property is set to null.
  */
  public net.java.html.lib.Objs.Property currentScope = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.angular.IScope.class, "currentScope");
  public IScope currentScope() { return currentScope.get(); }
  /**
  * name of the event.
  */
  public net.java.html.lib.Objs.Property name = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "name");
  public java.lang.String name() { return name.get(); }
  /**
  * calling stopPropagation function will cancel further event propagation (available only for events that were $emit-ed).
  */
  public net.java.html.lib.Objs.Property stopPropagation = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Function.class, "stopPropagation");
  public net.java.html.lib.Function stopPropagation() { return stopPropagation.get(); }
  /**
  * calling preventDefault sets defaultPrevented flag to true.
  */
  public net.java.html.lib.Objs.Property preventDefault = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Function.class, "preventDefault");
  public net.java.html.lib.Function preventDefault() { return preventDefault.get(); }
  /**
  * true if preventDefault was called.
  */
  public net.java.html.lib.Objs.Property defaultPrevented = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "defaultPrevented");
  public java.lang.Boolean defaultPrevented() { return defaultPrevented.get(); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy