_base/kernel.doc

dojo/_base/kernel.doc

Summary

Alias for the current document. 'doc' can be modified for temporary context shifting. See also withDoc().

Use this rather than referring to 'window.document' to ensure your code runs correctly in managed contexts.

Examples

Example 1

n.appendChild(dojo.doc.createElement('div'));

Properties

documentElement

Defined by: dojox/gfx/_base

dojoClick

Defined by: dojox/mobile/common

© 2005–2015 The Dojo Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/_base/kernel.doc.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部