W3cubDocs

/Dojo

dojo/window

Summary

TODOC

See the dojo/window reference documentation for more information.

Methods

get(doc)

Defined by dojo/window

Get window object associated with document doc.

Parameter Type Description
doc Document

The document to get the associated window for.

Returns: undefined

getBox(doc)

Defined by dojo/window

Returns the dimensions and scroll position of the viewable area of a browser window

Parameter Type Description
doc Document
Optional

Returns: object

scrollIntoView(node,pos)

Defined by dojo/window

Scroll the passed node into view using minimal movement, if it is not already.

Parameter Type Description
node DomNode
pos Object
Optional

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/window.html