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

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

package net.java.html.lib.angular;
public class IComponentOptions extends net.java.html.lib.Objs {
  protected IComponentOptions(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(IComponentOptions.class);
    }
    @Override
    public IComponentOptions create(java.lang.Object obj) {
      return obj == null ? null : new IComponentOptions(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static IComponentOptions $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  /**
  * Controller constructor function that should be associated with newly created scope or the name of a registered
  * controller if passed as a string. Empty function by default.
  * Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
  */
  public net.java.html.lib.Objs.Property> controller = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Union.A3.class, "controller");
  /**
  * An identifier name for a reference to the controller. If present, the controller will be published to scope under
  * the controllerAs name. If not present, this will default to be the same as the component name.
  * @default "$ctrl"
  */
  public net.java.html.lib.Objs.Property controllerAs = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "controllerAs");
  public java.lang.String controllerAs() { return controllerAs.get(); }
  /**
  * html template as a string or a function that returns an html template as a string which should be used as the
  * contents of this component. Empty string by default.
  * If template is a function, then it is injected with the following locals:
  * $element - Current element
  * $attrs - Current attributes object for the element
  * Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
  */
  public net.java.html.lib.Objs.Property> template = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Union.A3.class, "template");
  /**
  * path or function that returns a path to an html template that should be used as the contents of this component.
  * If templateUrl is a function, then it is injected with the following locals:
  * $element - Current element
  * $attrs - Current attributes object for the element
  * Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
  */
  public net.java.html.lib.Objs.Property> templateUrl = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Union.A3.class, "templateUrl");
  /**
  * Define DOM attribute binding to component properties. Component properties are always bound to the component
  * controller and not to the scope.
  */
  public net.java.html.lib.Objs.Property bindings = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Objs.class, "bindings");
  /**
  * Whether transclusion is enabled. Enabled by default.
  */
  public net.java.html.lib.Objs.Property> transclude = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Union.A3.class, "transclude");
  public net.java.html.lib.Objs.Property> require = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Union.A3.class, "require");
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy