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

      void cancel(AnimationHandle handle)
      Public AnimateService.cancel member exposed by the AngularTS namespace contract.
      Parameters:
      handle - Value supplied for the handle parameter.
    • define

      void define(String name, AnimationPreset preset)
      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

      AnimationHandle leave(elemental2.dom.Element element, AnimationOptions options)
      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

      elemental2.promise.Promise<Void> transition(AnimateService.TransitionUpdateCallback update)
      Public AnimateService.transition member exposed by the AngularTS namespace contract.
      Parameters:
      update - Value supplied for the update parameter.
      Returns:
      Method result.