dojox/secure/sandbox (version 1.10)

Summary

Creates a secure sandbox from which scripts and HTML can be loaded that will only be able to access the provided element and it's descendants, the rest of the DOM and JS environment will not be accessible to the sandboxed scripts and HTML.

This function will create and return a sandbox object (see dojox.secure.__Sandbox) for the provided element.

Usage

sandbox(element);
Parameter Type Description
element undefined

The DOM element to use as the container for the sandbox

See the dojox/secure/sandbox reference documentation for more information.

Method Summary

Methods

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