Functiondijit.popup.prepare

dojo.require("dijit");
defined in dijit/_base/popup.js

Attaches node to dojo.doc.body, and positions it off screen, but not display:none, so that the widget doesn't appear in the page flow and/or cause a blank area at the bottom of the viewport (making scrollbar longer), but initialization of contained widgets works correctly

Usage

function (/*DomNode*/ node) (view source)
parametertypedescription
nodeDomNode