Interface AngularElementOptions<T>


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

    • create

      @JsOverlay static <T> AngularElementOptions<T> create()
    • getComponent

      @JsProperty AppComponentOptions<T> getComponent()
      App component definition passed to `$webComponent.defineAppComponent`.
    • getDirectives

      @JsProperty Object getDirectives()
      Directives registered in the composed root module.
    • getElementModule

      @JsProperty AngularElementModuleOptions getElementModule()
      Application module that registers the custom element.
    • getFilters

      @JsProperty Object getFilters()
      Filters registered in the composed root module.
    • getModules

      @JsProperty elemental2.core.JsArray<Object> getModules()
      Framework modules included by the composed `ng` module.
    • getName

      @JsProperty String getName()
      Name of the composed root module. Defaults to `ng`.
    • getProviders

      @JsProperty jsinterop.base.JsPropertyMap<Object> getProviders()
      Additional providers registered in the composed root module.
    • getRequires

      @JsProperty elemental2.core.JsArray<String> getRequires()
      Additional application modules required by the composed root module.
    • getServices

      @JsProperty Object getServices()
      Services registered in the composed root module.
    • isSubapp

      @JsProperty boolean isSubapp()
      Treat this runtime as a sub-application of the current host runtime.
    • setComponent

      @JsProperty void setComponent(AppComponentOptions<T> component)
      App component definition passed to `$webComponent.defineAppComponent`.
    • setDirectives

      @JsProperty void setDirectives(Object directives)
      Directives registered in the composed root module.
    • setElementModule

      @JsProperty void setElementModule(AngularElementModuleOptions elementModule)
      Application module that registers the custom element.
    • setFilters

      @JsProperty void setFilters(Object filters)
      Filters registered in the composed root module.
    • setModules

      @JsProperty void setModules(elemental2.core.JsArray<Object> modules)
      Framework modules included by the composed `ng` module.
    • setName

      @JsProperty void setName(String name)
      Name of the composed root module. Defaults to `ng`.
    • setProviders

      @JsProperty void setProviders(jsinterop.base.JsPropertyMap<Object> providers)
      Additional providers registered in the composed root module.
    • setRequires

      @JsProperty void setRequires(elemental2.core.JsArray<String> requires)
      Additional application modules required by the composed root module.
    • setServices

      @JsProperty void setServices(Object services)
      Services registered in the composed root module.
    • setSubapp

      @JsProperty void setSubapp(boolean subapp)
      Treat this runtime as a sub-application of the current host runtime.