Interface ScopeElementConstructor<T>


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

    Modifier and Type
    Method
    Description
     
    Declared DOM attributes/properties that sync into the scope.
    Initial scope state, or a factory returning it.
    Enables shadow DOM, or passes ShadowRootInit options.
    Template compiled into the host or shadow root.
    boolean
    Use an isolate child scope instead of inheriting parent properties.
    void
    Declared DOM attributes/properties that sync into the scope.
    void
    setIsolate(boolean isolate)
    Use an isolate child scope instead of inheriting parent properties.
    void
    Initial scope state, or a factory returning it.
    void
    setShadow(Object shadow)
    Enables shadow DOM, or passes ShadowRootInit options.
    void
    setTemplate(String template)
    Template compiled into the host or shadow root.
  • Method Details

    • create

      @JsOverlay static <T> ScopeElementConstructor<T> create()
    • 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.
    • 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.