Interface AppComponentOptions<T>


@JsType(isNative=true, name="ng.AppComponentOptions", namespace="<global>") public interface AppComponentOptions<T>
Public AngularTS AppComponentOptions contract exposed through the global ng namespace for Closure-annotated applications.
  • Method Details

    • create

      @JsOverlay static <T> AppComponentOptions<T> create()
    • getAttributeChanged

      @JsProperty AppComponentOptions.AttributeChangedCallback<T> getAttributeChanged()
      Called after an observed input attribute changes.
    • getConnected

      @JsProperty AppComponentOptions.ConnectedCallback<T> getConnected()
      Called after the scope exists and the template has been linked.
    • getDisconnected

      @JsProperty AppComponentOptions.DisconnectedCallback<T> getDisconnected()
      Called before the scope is destroyed.
    • getInputs

      @JsProperty WebComponentInputs getInputs()
      Declared DOM attributes/properties that sync into the scope.
    • getScope

      @JsProperty Object getScope()
      Initial scope state, or a factory returning it.
    • getShadow

      @JsProperty Object getShadow()
      Enables shadow DOM, or passes ShadowRootInit options.
    • getTemplate

      @JsProperty String getTemplate()
      Template compiled into the host or shadow root.
    • isIsolate

      @JsProperty boolean isIsolate()
      Use an isolate child scope instead of inheriting parent properties.
    • setAttributeChanged

      @JsProperty void setAttributeChanged(AppComponentOptions.AttributeChangedCallback<T> attributeChanged)
      Called after an observed input attribute changes.
    • setConnected

      @JsProperty void setConnected(AppComponentOptions.ConnectedCallback<T> connected)
      Called after the scope exists and the template has been linked.
    • setDisconnected

      @JsProperty void setDisconnected(AppComponentOptions.DisconnectedCallback<T> disconnected)
      Called before the scope is destroyed.
    • setInputs

      @JsProperty void setInputs(WebComponentInputs inputs)
      Declared DOM attributes/properties that sync into the scope.
    • setIsolate

      @JsProperty void setIsolate(boolean isolate)
      Use an isolate child scope instead of inheriting parent properties.
    • setScope

      @JsProperty void setScope(Object scope)
      Initial scope state, or a factory returning it.
    • setShadow

      @JsProperty void setShadow(Object shadow)
      Enables shadow DOM, or passes ShadowRootInit options.
    • setTemplate

      @JsProperty void setTemplate(String template)
      Template compiled into the host or shadow root.