Package org.angular.ts.ng
Interface AnimateService
@JsType(isNative=true,
name="ng.AnimateService",
namespace="<global>")
public interface AnimateService
Public AngularTS AnimateService contract exposed through the global ng namespace for Closure-annotated applications.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTypeScript callback contract for this method. -
Method Summary
Modifier and TypeMethodDescriptionaddClass(elemental2.dom.Element element, String className, AnimationOptions options) Public AnimateService.addClass member exposed by the AngularTS namespace contract.animate(elemental2.dom.Element element, jsinterop.base.JsPropertyMap<Object> from, jsinterop.base.JsPropertyMap<Object> to, String className, AnimationOptions options) Public AnimateService.animate member exposed by the AngularTS namespace contract.voidcancel(AnimationHandle handle) Public AnimateService.cancel member exposed by the AngularTS namespace contract.voiddefine(String name, AnimationPreset preset) Public AnimateService.define member exposed by the AngularTS namespace contract.enter(elemental2.dom.Element element, Object parent, Object after, AnimationOptions options) Public AnimateService.enter member exposed by the AngularTS namespace contract.leave(elemental2.dom.Element element, AnimationOptions options) Public AnimateService.leave member exposed by the AngularTS namespace contract.move(elemental2.dom.Element element, Object parent, Object after, AnimationOptions options) Public AnimateService.move member exposed by the AngularTS namespace contract.removeClass(elemental2.dom.Element element, String className, AnimationOptions options) Public AnimateService.removeClass member exposed by the AngularTS namespace contract.setClass(elemental2.dom.Element element, String add, String remove, AnimationOptions options) Public AnimateService.setClass member exposed by the AngularTS namespace contract.elemental2.promise.Promise<Void> Public AnimateService.transition member exposed by the AngularTS namespace contract.
-
Method Details
-
addClass
AnimationHandle addClass(elemental2.dom.Element element, String className, AnimationOptions options) Public AnimateService.addClass member exposed by the AngularTS namespace contract.- Parameters:
element- Value supplied for the element parameter.className- Value supplied for the className parameter.options- Value supplied for the options parameter.- Returns:
- Method result.
-
animate
AnimationHandle animate(elemental2.dom.Element element, jsinterop.base.JsPropertyMap<Object> from, jsinterop.base.JsPropertyMap<Object> to, String className, AnimationOptions options) Public AnimateService.animate member exposed by the AngularTS namespace contract.- Parameters:
element- Value supplied for the element parameter.from- Value supplied for the from parameter.to- Value supplied for the to parameter.className- Value supplied for the className parameter.options- Value supplied for the options parameter.- Returns:
- Method result.
-
cancel
Public AnimateService.cancel member exposed by the AngularTS namespace contract.- Parameters:
handle- Value supplied for the handle parameter.
-
define
Public AnimateService.define member exposed by the AngularTS namespace contract.- Parameters:
name- Value supplied for the name parameter.preset- Value supplied for the preset parameter.
-
enter
AnimationHandle enter(elemental2.dom.Element element, Object parent, Object after, AnimationOptions options) Public AnimateService.enter member exposed by the AngularTS namespace contract.- Parameters:
element- Value supplied for the element parameter.parent- Value supplied for the parent parameter.after- Value supplied for the after parameter.options- Value supplied for the options parameter.- Returns:
- Method result.
-
leave
Public AnimateService.leave member exposed by the AngularTS namespace contract.- Parameters:
element- Value supplied for the element parameter.options- Value supplied for the options parameter.- Returns:
- Method result.
-
move
AnimationHandle move(elemental2.dom.Element element, Object parent, Object after, AnimationOptions options) Public AnimateService.move member exposed by the AngularTS namespace contract.- Parameters:
element- Value supplied for the element parameter.parent- Value supplied for the parent parameter.after- Value supplied for the after parameter.options- Value supplied for the options parameter.- Returns:
- Method result.
-
removeClass
AnimationHandle removeClass(elemental2.dom.Element element, String className, AnimationOptions options) Public AnimateService.removeClass member exposed by the AngularTS namespace contract.- Parameters:
element- Value supplied for the element parameter.className- Value supplied for the className parameter.options- Value supplied for the options parameter.- Returns:
- Method result.
-
setClass
AnimationHandle setClass(elemental2.dom.Element element, String add, String remove, AnimationOptions options) Public AnimateService.setClass member exposed by the AngularTS namespace contract.- Parameters:
element- Value supplied for the element parameter.add- Value supplied for the add parameter.remove- Value supplied for the remove parameter.options- Value supplied for the options parameter.- Returns:
- Method result.
-
transition
Public AnimateService.transition member exposed by the AngularTS namespace contract.- Parameters:
update- Value supplied for the update parameter.- Returns:
- Method result.
-