Interface AnimationHandle


@JsType(isNative=true, name="ng.AnimationHandle", namespace="<global>") public interface AnimationHandle
Public AngularTS AnimationHandle contract exposed through the global ng namespace for Closure-annotated applications.
  • Method Details

    • cancel

      void cancel()
      Public AnimationHandle.cancel member exposed by the AngularTS namespace contract.
    • catch_

      @JsMethod(name="catch") <TResult> elemental2.promise.Promise<TResult> catch_(AnimationHandle.Catch_OnrejectedCallback onrejected)
      Public AnimationHandle.catch member exposed by the AngularTS namespace contract.
      Parameters:
      onrejected - Value supplied for the onrejected parameter.
      Returns:
      Method result.
    • complete

      void complete(boolean status)
      Public AnimationHandle.complete member exposed by the AngularTS namespace contract.
      Parameters:
      status - Value supplied for the status parameter.
    • done

      void done(AnimationHandle.DoneCallback callback)
      Public AnimationHandle.done member exposed by the AngularTS namespace contract.
      Parameters:
      callback - Value supplied for the callback parameter.
    • finally_

      @JsMethod(name="finally") elemental2.promise.Promise<Object> finally_(AnimationHandle.Finally_OnfinallyCallback onfinally)
      Public AnimationHandle.finally member exposed by the AngularTS namespace contract.
      Parameters:
      onfinally - Value supplied for the onfinally parameter.
      Returns:
      Method result.
    • finish

      void finish()
      Public AnimationHandle.finish member exposed by the AngularTS namespace contract.
    • getController

      @JsProperty Object getController()
      Public AnimationHandle.controller member exposed by the AngularTS namespace contract.
    • getFinished

      @JsProperty elemental2.promise.Promise<Object> getFinished()
      Public AnimationHandle.finished member exposed by the AngularTS namespace contract.
    • pause

      void pause()
      Public AnimationHandle.pause member exposed by the AngularTS namespace contract.
    • play

      void play()
      Public AnimationHandle.play member exposed by the AngularTS namespace contract.
    • setController

      @JsProperty void setController(Object controller)
      Public AnimationHandle.controller member exposed by the AngularTS namespace contract.
    • setFinished

      @JsProperty void setFinished(elemental2.promise.Promise<Object> finished)
      Public AnimationHandle.finished member exposed by the AngularTS namespace contract.
    • then

      elemental2.promise.IThenable<Object> then(AnimationHandle.ThenOnfulfilledCallback onfulfilled, AnimationHandle.ThenOnrejectedCallback onrejected)
      Attaches callbacks for the resolution and/or rejection of the Promise.
      Parameters:
      onfulfilled - Value supplied for the onfulfilled parameter.
      onrejected - Value supplied for the onrejected parameter.
      Returns:
      Method result.