Package org.angular.ts.ng
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 TypeMethodDescriptionstatic <T> ScopeElementConstructor<T> create()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.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
-
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. -
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.
-