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

net.java.html.lib.angular.ng.ITemplateRequestService Maven / Gradle / Ivy

package net.java.html.lib.angular.ng;
public class ITemplateRequestService extends net.java.html.lib.Objs {
  protected ITemplateRequestService(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(ITemplateRequestService.class);
    }
    @Override
    public ITemplateRequestService create(java.lang.Object obj) {
      return obj == null ? null : new ITemplateRequestService(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static ITemplateRequestService $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  public net.java.html.lib.angular.ng.IPromise $apply(java.lang.String tpl, java.lang.Boolean ignoreRequestError) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.$apply$534($js(this), tpl, ignoreRequestError));
  }
  public net.java.html.lib.angular.ng.IPromise $apply(java.lang.String tpl) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.$apply$535($js(this), tpl));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n         * Downloads a template using $http and, upon success, stores the\n         * contents inside of $templateCache.\n         *\n         * If the HTTP request fails or the response data of the HTTP request is\n         * empty then a $compile error will be thrown (unless\n         * {ignoreRequestError} is set to true).\n         *\n         * @param tpl                  The template URL.\n         * @param ignoreRequestError   Whether or not to ignore the exception\n         *                             when the request fails or the template is\n         *                             empty.\n         *\n         * @return   A promise whose value is the template content.\n         */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"StringKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"tpl","right":[]},"type":{"kind":"StringKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"ignoreRequestError","right":[]},"type":{"kind":"BooleanKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":{"kind":"QuestionToken"},"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  /**
  * total amount of pending template requests being downloaded.
  * @type {number}
  */
  public net.java.html.lib.Objs.Property totalPendingRequests = net.java.html.lib.Objs.Property.create(this, java.lang.Number.class, "totalPendingRequests");
  public java.lang.Number totalPendingRequests() { return totalPendingRequests.get(); }
  // skipping MethodKey{name={"kind":"FirstTypeNode","text":"$apply","right":[]}, parameters=[java.lang.String, java.lang.Boolean]}
  // skipping MethodKey{name={"kind":"FirstTypeNode","text":"$apply","right":[]}, parameters=[java.lang.String]}
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n         * Downloads a template using $http and, upon success, stores the\n         * contents inside of $templateCache.\n         *\n         * If the HTTP request fails or the response data of the HTTP request is\n         * empty then a $compile error will be thrown (unless\n         * {ignoreRequestError} is set to true).\n         *\n         * @param tpl                  The template URL.\n         * @param ignoreRequestError   Whether or not to ignore the exception\n         *                             when the request fails or the template is\n         *                             empty.\n         *\n         * @return   A promise whose value is the template content.\n         */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"StringKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"tpl","right":[]},"type":{"kind":"StringKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"ignoreRequestError","right":[]},"type":{"kind":"BooleanKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":{"kind":"QuestionToken"},"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy