dijit.getFocus
dojo.require("dijit");
defined in dijit/_base/focus.js
Returns the current focus and selection. Called when a popup appears (either a top level menu or a dialog), or when a toolbar/menubar receives focus
Usage
function (?menu, /*Window?*/ openedForWindow) (view source)
parameter | type | description |
---|---|---|
menu | Optional. The menu that's being opened | |
openedForWindow | Window | Optional. iframe in which menu was opened |