dojo/_base/kernel.window (version 1.10)

Summary

TODOC

Method Summary

  • get(doc) Get window object associated with document doc.
  • getBox(doc) Returns the dimensions and scroll position of the viewable area of a browser window
  • scrollIntoView(node,pos) Scroll the passed node into view using minimal movement, if it is not already.

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
Error in the documentation? Can’t find what you are looking for? Let us know!