HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/ijzerenman.komma.pro/wwwroot/js/app/core/pageAnimator.js
define([],function()
{
    var $content = $('#content');
    var $header = $('#header');

    var isAnimating = false;

    return{

        /*
         | Simple animation for standard pages
         | Fade content in, fade content out
         */

        animateOut : function(callback)
        {
            //isAnimating = true;
        },

        animateIn : function(callback)
        {
           // isAnimating = true;
        },

        isAnimating : function()
        {
            return isAnimating;
        },

        fadeOut : function(callback)
        {
            $content.animate({
                opacity: 0
            },400, callback);
        },

        fadeIn : function(response, callback)
        {
            $content.html(response.view);
            $content.animate({
                opacity: 1
            },400, callback);
        }
    }
});