Package org.angular.ts.ng
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 Summary
Modifier and TypeMethodDescriptionstatic <T> AngularElementOptions<T> create()App component definition passed to `$webComponent.defineAppComponent`.Directives registered in the composed root module.Application module that registers the custom element.Filters registered in the composed root module.elemental2.core.JsArray<Object> Framework modules included by the composed `ng` module.getName()Name of the composed root module.jsinterop.base.JsPropertyMap<Object> Additional providers registered in the composed root module.elemental2.core.JsArray<String> Additional application modules required by the composed root module.Services registered in the composed root module.booleanisSubapp()Treat this runtime as a sub-application of the current host runtime.voidsetComponent(AppComponentOptions<T> component) App component definition passed to `$webComponent.defineAppComponent`.voidsetDirectives(Object directives) Directives registered in the composed root module.voidsetElementModule(AngularElementModuleOptions elementModule) Application module that registers the custom element.voidsetFilters(Object filters) Filters registered in the composed root module.voidsetModules(elemental2.core.JsArray<Object> modules) Framework modules included by the composed `ng` module.voidName of the composed root module.voidsetProviders(jsinterop.base.JsPropertyMap<Object> providers) Additional providers registered in the composed root module.voidsetRequires(elemental2.core.JsArray<String> requires) Additional application modules required by the composed root module.voidsetServices(Object services) Services registered in the composed root module.voidsetSubapp(boolean subapp) Treat this runtime as a sub-application of the current host runtime.
-
Method Details
-
create
-
getComponent
App component definition passed to `$webComponent.defineAppComponent`. -
getDirectives
Directives registered in the composed root module. -
getElementModule
Application module that registers the custom element. -
getFilters
Filters registered in the composed root module. -
getModules
Framework modules included by the composed `ng` module. -
getName
Name of the composed root module. Defaults to `ng`. -
getProviders
Additional providers registered in the composed root module. -
getRequires
Additional application modules required by the composed root module. -
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
App component definition passed to `$webComponent.defineAppComponent`. -
setDirectives
Directives registered in the composed root module. -
setElementModule
Application module that registers the custom element. -
setFilters
Filters registered in the composed root module. -
setModules
Framework modules included by the composed `ng` module. -
setName
Name of the composed root module. Defaults to `ng`. -
setProviders
Additional providers registered in the composed root module. -
setRequires
Additional application modules required by the composed root module. -
setServices
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.
-