code: function (e) {
                  var z = s.zoom;
                  if (!s.support.gestures) {
                      if (e.type !== 'touchstart' || e.type === 'touchstart' && e.targetTouches.length < 2) {
                          return;
                      }
                      z.gesture.scaleStart = z.getDistanceBetweenTouches(e);
                  }
                  if (!z.gesture.slide || !z.gesture.slide.length) {
                      z.gesture.slide = $(this);
                      if (z.gesture.slide.length === 0) z.gesture.slide = s.slides.eq(s.activeIndex);
                      z.gesture.image = z.gesture.slide.find('img, svg, canvas');
                      z.gesture.imageWrap = z.gesture.image.parent('.' + s.params.zoomContainerClass);
                      z.gesture.zoomMax = z.gesture.imageWrap.attr('data-swiper-zoom') || s.params.zoomMax ;
                      if (z.gesture.imageWrap.length === 0) {
                          z.gesture.image = undefined;
                          return;
                      }
                  }
                  z.gesture.image.transition(0);
                  z.isScaling = true;
              }
docs: Events