Package org.angular.ts.ng
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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTypeScript callback contract for this property.static interfaceTypeScript callback contract for this property.static interfaceTypeScript callback contract for this property. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> AppComponentOptions<T> create()Called after an observed input attribute changes.Called after the scope exists and the template has been linked.Called before the scope is destroyed.Declared DOM attributes/properties that sync into the scope.getScope()Initial scope state, or a factory returning it.Enables shadow DOM, or passes ShadowRootInit options.Template compiled into the host or shadow root.booleanUse an isolate child scope instead of inheriting parent properties.voidsetAttributeChanged(AppComponentOptions.AttributeChangedCallback<T> attributeChanged) Called after an observed input attribute changes.voidsetConnected(AppComponentOptions.ConnectedCallback<T> connected) Called after the scope exists and the template has been linked.voidsetDisconnected(AppComponentOptions.DisconnectedCallback<T> disconnected) Called before the scope is destroyed.voidsetInputs(WebComponentInputs inputs) Declared DOM attributes/properties that sync into the scope.voidsetIsolate(boolean isolate) Use an isolate child scope instead of inheriting parent properties.voidInitial scope state, or a factory returning it.voidEnables shadow DOM, or passes ShadowRootInit options.voidsetTemplate(String template) Template compiled into the host or shadow root.
-
Method Details
-
create
-
getAttributeChanged
Called after an observed input attribute changes. -
getConnected
Called after the scope exists and the template has been linked. -
getDisconnected
Called before the scope is destroyed. -
getInputs
Declared DOM attributes/properties that sync into the scope. -
getScope
Initial scope state, or a factory returning it. -
getShadow
Enables shadow DOM, or passes ShadowRootInit options. -
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
Called after the scope exists and the template has been linked. -
setDisconnected
Called before the scope is destroyed. -
setInputs
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
Initial scope state, or a factory returning it. -
setShadow
Enables shadow DOM, or passes ShadowRootInit options. -
setTemplate
Template compiled into the host or shadow root.
-