Package org.angular.ts.ng
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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTypeScript callback contract for this method.static interfaceTypeScript callback contract for this method.static interfaceTypeScript callback contract for this method.static interfaceTypeScript callback contract for this method.static interfaceTypeScript callback contract for this method. -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Public AnimationHandle.cancel member exposed by the AngularTS namespace contract.<TResult> elemental2.promise.Promise<TResult> catch_(AnimationHandle.Catch_OnrejectedCallback onrejected) Public AnimationHandle.catch member exposed by the AngularTS namespace contract.voidcomplete(boolean status) Public AnimationHandle.complete member exposed by the AngularTS namespace contract.voiddone(AnimationHandle.DoneCallback callback) Public AnimationHandle.done member exposed by the AngularTS namespace contract.elemental2.promise.Promise<Object> Public AnimationHandle.finally member exposed by the AngularTS namespace contract.voidfinish()Public AnimationHandle.finish member exposed by the AngularTS namespace contract.Public AnimationHandle.controller member exposed by the AngularTS namespace contract.elemental2.promise.Promise<Object> Public AnimationHandle.finished member exposed by the AngularTS namespace contract.voidpause()Public AnimationHandle.pause member exposed by the AngularTS namespace contract.voidplay()Public AnimationHandle.play member exposed by the AngularTS namespace contract.voidsetController(Object controller) Public AnimationHandle.controller member exposed by the AngularTS namespace contract.voidsetFinished(elemental2.promise.Promise<Object> finished) Public AnimationHandle.finished member exposed by the AngularTS namespace contract.elemental2.promise.IThenable<Object> then(AnimationHandle.ThenOnfulfilledCallback onfulfilled, AnimationHandle.ThenOnrejectedCallback onrejected) Attaches callbacks for the resolution and/or rejection of the Promise.
-
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
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
Public AnimationHandle.controller member exposed by the AngularTS namespace contract. -
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
Public AnimationHandle.controller member exposed by the AngularTS namespace contract. -
setFinished
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.
-