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.
  • Method Details

    • attributeChangedCallback

      void attributeChangedCallback(String attribute, String oldValue, String newValue)
      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

      boolean dispatch(String type, Object detail, Object init)
      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

      @JsProperty ScopeElement.AttributeChangedCallback getAttributeChanged()
      Called after an observed input attribute changes.
    • getConnected

      @JsProperty ScopeElement.ConnectedCallback getConnected()
      Called after the AngularTS scope and template are connected.
    • getDisconnected

      @JsProperty ScopeElement.DisconnectedCallback getDisconnected()
      Called before the AngularTS scope is destroyed.
    • getInjector

      @JsProperty InjectorService<Object> getInjector()
      Injector used by the AngularTS app that registered this element.
    • getRoot

      @JsProperty Object getRoot()
      Render root used for compiled template content.
    • getScope

      @JsProperty jsinterop.base.JsPropertyMap<Object> getScope()
      Scope owned by this custom element instance.
    • setAttributeChanged

      @JsProperty void setAttributeChanged(ScopeElement.AttributeChangedCallback attributeChanged)
      Called after an observed input attribute changes.
    • setConnected

      @JsProperty void setConnected(ScopeElement.ConnectedCallback connected)
      Called after the AngularTS scope and template are connected.
    • setDisconnected

      @JsProperty void setDisconnected(ScopeElement.DisconnectedCallback disconnected)
      Called before the AngularTS scope is destroyed.
    • setInjector

      @JsProperty void setInjector(InjectorService<Object> injector)
      Injector used by the AngularTS app that registered this element.
    • setRoot

      @JsProperty void setRoot(Object root)
      Render root used for compiled template content.
    • setScope

      @JsProperty void setScope(jsinterop.base.JsPropertyMap<Object> scope)
      Scope owned by this custom element instance.