code: function animateElement(element, animation = '', callback = false) {
      if (!element || animation === '') {
          return false;
      }
      if (animation == 'none') {
          if (utils.isFunction(callback))
              callback()
          return false;
      }
      const animationNames = animation.split(' ')
      each(animationNames, (name) => {
          addClass(element, 'g'+name)
      })
      addEvent(animationEnd, {
          onElement: element,
          avoidDuplicate: false,
          once: true,
          withCallback: (event, target) => {
              each(animationNames, (name) => {
                  removeClass(target, 'g' + name)
              })
              if (utils.isFunction(callback))
                  callback()
          }
      })
  }
docs: CSS Animations
  
  @param {node} element
  @param {string} animation name
  @param {function} callback