handleSlide: function()

in assets/www/scripts/MetroJs.lt.js [137:154]


		handleSlide: function (isSlidingUp, $cont, swapFrontSource, stgs, index) {
			if (!isSlidingUp && swapFrontSource) {
				var image;
				var $img = $cont.find(stgs.imageCssSelector);
				image = stgs.frontImages[index];
				if (stgs.fadeSlideSwap == true) {
					$img.fadeOut(function () {
						$img.attr("src", image.src);
						privMethods.setExtraProperties($img, image);
						$img.fadeIn();
					});
				} else {
					$img.attr("src", image.src);
					privMethods.setExtraProperties($img, image);
				}
			}

		},