UNPKG

dijit

Version:

Dijit provides a complete collection of user interface controls based on Dojo, giving you the power to create web applications that are highly optimized for usability, performance, internationalization, accessibility, but above all deliver an incredible u

23 lines (19 loc) 568 B
define([ "dojo/window", // windowUtils.scrollIntoView "../main" // export symbol to dijit ], function(windowUtils, dijit){ // module: // dijit/_base/scroll /*===== return { // summary: // Back compatibility module, new code should use windowUtils directly instead of using this module. }; =====*/ dijit.scrollIntoView = function(/*DomNode*/ node, /*Object?*/ pos){ // summary: // Scroll the passed node into view, if it is not already. // Deprecated, use `windowUtils.scrollIntoView` instead. windowUtils.scrollIntoView(node, pos); }; });