dojo._base.window

since:V?

dojo._base.window contains functions for dealing with the document-wide DOM and context related stuff.

As with all dojo._base components, these functions are included within Dojo Base. You get this functionality by just including dojo.js in your page.

Features

  • dojo.doc

    Alias for the current document

  • dojo.body

    Return the body element of the document

  • dojo.setContext

    Changes the behavior of many core Dojo functions that deal with namespace and DOM lookup

  • dojo.withGlobal

    Call callback with globalObject as dojo.global and globalObject.document as dojo.doc

  • dojo.withDoc

    Call callback with documentObject as dojo.doc

Table of Contents

Error in the documentation? Can’t find what you are looking for? Let us know!