Package org.angular.ts.ng
Interface ScopeElement<T>
@JsType(isNative=true,
name="ng.ScopeElement",
namespace="<global>")
public interface ScopeElement<T>
Public AngularTS ScopeElement 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 TypeMethodDescriptionvoidattributeChangedCallback(String attribute, String oldValue, String newValue) Public ScopeElement.attributeChangedCallback member exposed by the AngularTS namespace contract.voidPublic ScopeElement.connectedCallback member exposed by the AngularTS namespace contract.voidPublic ScopeElement.disconnectedCallback member exposed by the AngularTS namespace contract.booleanDispatch a composed bubbling DOM event from this custom element.Called after an observed input attribute changes.Called after the AngularTS scope and template are connected.Called before the AngularTS scope is destroyed.Injector used by the AngularTS app that registered this element.getRoot()Render root used for compiled template content.jsinterop.base.JsPropertyMap<Object> getScope()Scope owned by this custom element instance.voidsetAttributeChanged(ScopeElement.AttributeChangedCallback attributeChanged) Called after an observed input attribute changes.voidsetConnected(ScopeElement.ConnectedCallback connected) Called after the AngularTS scope and template are connected.voidsetDisconnected(ScopeElement.DisconnectedCallback disconnected) Called before the AngularTS scope is destroyed.voidsetInjector(InjectorService<Object> injector) Injector used by the AngularTS app that registered this element.voidRender root used for compiled template content.voidScope owned by this custom element instance.
-
Method Details
-
attributeChangedCallback
Public ScopeElement.attributeChangedCallback member exposed by the AngularTS namespace contract.- Parameters:
attribute- Value supplied for the attribute parameter.oldValue- Value supplied for the oldValue parameter.newValue- Value supplied for the newValue parameter.
-
connectedCallback
void connectedCallback()Public ScopeElement.connectedCallback member exposed by the AngularTS namespace contract. -
disconnectedCallback
void disconnectedCallback()Public ScopeElement.disconnectedCallback member exposed by the AngularTS namespace contract. -
dispatch
Dispatch a composed bubbling DOM event from this custom element.- Parameters:
type- Value supplied for the type parameter.detail- Value supplied for the detail parameter.init- Value supplied for the init parameter.- Returns:
- Method result.
-
getAttributeChanged
Called after an observed input attribute changes. -
getConnected
Called after the AngularTS scope and template are connected. -
getDisconnected
Called before the AngularTS scope is destroyed. -
getInjector
Injector used by the AngularTS app that registered this element. -
getRoot
Render root used for compiled template content. -
getScope
Scope owned by this custom element instance. -
setAttributeChanged
Called after an observed input attribute changes. -
setConnected
Called after the AngularTS scope and template are connected. -
setDisconnected
Called before the AngularTS scope is destroyed. -
setInjector
Injector used by the AngularTS app that registered this element. -
setRoot
Render root used for compiled template content. -
setScope
Scope owned by this custom element instance.
-