src/common/js/winjs/js/base.js
function (element) {
            var hiddenElement = _Global.document.createElement("div");
            hiddenElement.style[_BaseUtils._browserStyleEquivalents["animation-name"].scriptName] = "WinJS-node-inserted";
            hiddenElement.style[_BaseUtils._browserStyleEquivalents["animation-duration"].scriptName] = "0.01s";
            hiddenElement.style["position"] = "absolute";
            element.appendChild(hiddenElement);

            exports._addEventListener(hiddenElement, "animationStart", function (e) {
                if (e.animationName === "WinJS-node-inserted") {
                    var e = _Global.document.createEvent("Event");
                    e.initEvent("WinJSNodeInserted", false, true);
                    element.dispatchEvent(e);
                }
            }, false);

            return hiddenElement;
        }
function (element) {
            var hiddenElement = _Global.document.createElement("div");
            hiddenElement.style[_BaseUtils._browserStyleEquivalents["animation-name"].scriptName] = "WinJS-node-inserted";
            hiddenElement.style[_BaseUtils._browserStyleEquivalents["animation-duration"].scriptName] = "0.01s";
            hiddenElement.style["position"] = "absolute";
            element.appendChild(hiddenElement);

            exports._addEventListener(hiddenElement, "animationStart", function (e) {
                if (e.animationName === "WinJS-node-inserted") {
                    var e = _Global.document.createEvent("Event");
                    e.initEvent("WinJSNodeInserted", false, true);
                    element.dispatchEvent(e);
                }
            }, false);

            return hiddenElement;
        }
function ( element ) { var hiddenElement = _Global . document . createElement ( "div" ) ; hiddenElement . style [ _BaseUtils . _browserStyleEquivalents [ "animation-name" ] . scriptName ] = "WinJS-node-inserted" ; hiddenElement . style [ _BaseUtils . _browserStyleEquivalents [ "animation-duration" ] . scriptName ] = "0.01s" ; hiddenElement . style [ "position" ] = "absolute" ; element . appendChild ( hiddenElement ) ; exports . _addEventListener ( hiddenElement , "animationStart" , function ( e ) { if ( e . animationName === "WinJS-node-inserted" ) { var e = _Global . document . createEvent ( "Event" ) ; e . initEvent ( "WinJSNodeInserted" , false , true ) ; element . dispatchEvent ( e ) ; } } , false ) ; return hiddenElement ; }
Appends a hidden child to the given element that will listen for being added to the DOM. When the hidden element is added to the DOM, it will dispatch a "WinJSNodeInserted" event on the provided element.
Appends a hidden child to the given element that will listen for being added to the DOM . When the hidden element is added to the DOM it will dispatch a WinJSNodeInserted event on the provided element .