Package org.angular.ts.ng
Interface AngularElementDefinition
@JsType(isNative=true,
name="ng.AngularElementDefinition",
namespace="<global>")
public interface AngularElementDefinition
Runtime metadata returned after defining a standalone custom element.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AngularElementDefinitioncreate()AngularTS runtime instance that owns the element injector.Native custom element constructor registered with `customElements`.Application module that registered the element.Injector used by all instances of this custom element definition.getName()Registered custom element tag name.Custom runtime `ng` module.voidsetAngular(Angular angular) AngularTS runtime instance that owns the element injector.voidsetElement(Object element) Native custom element constructor registered with `customElements`.voidsetElementModule(NgModule elementModule) Application module that registered the element.voidsetInjector(InjectorService<Object> injector) Injector used by all instances of this custom element definition.voidRegistered custom element tag name.voidsetNgModule(NgModule ngModule) Custom runtime `ng` module.
-
Method Details
-
create
-
getAngular
AngularTS runtime instance that owns the element injector. -
getElement
Native custom element constructor registered with `customElements`. -
getElementModule
Application module that registered the element. -
getInjector
Injector used by all instances of this custom element definition. -
getName
Registered custom element tag name. -
getNgModule
Custom runtime `ng` module. -
setAngular
AngularTS runtime instance that owns the element injector. -
setElement
Native custom element constructor registered with `customElements`. -
setElementModule
Application module that registered the element. -
setInjector
Injector used by all instances of this custom element definition. -
setName
Registered custom element tag name. -
setNgModule
Custom runtime `ng` module.
-