INNER CODE UNIT · JavaScript

animateRemoval

vasani-arpit/Social-Media-Automation · libs/numberAnimate.js:169

            var animateRemoval = function () {
                style[css3Prefix + 'Transition'] = "all " + removeTime + "ms ease-in-out";
                style.width = "1px";

                bindToTransitionEndForSingleRun($div, function () {
                    $div.remove();
                }, removeTime); 
            };
            if (shiftTime) {
                bindToTransitionEndForSingleRun($div, animateRemoval, shiftTime); 
            } else {
                animateRemoval();
            }
            
            //first move it so that the no break space is showing..
            shiftToChar($div, 'not there', shiftTime);
        });
    };

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…