main.window

dojo/main.window

Summary

TODOC

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–2015 The Dojo Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/main.window.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部