documentDocument
public
If present, render into the given Document
object instead of the global window.document
object.
In practice, this is only useful in non-browser environment or in non-interactive mode, because Ember's jQuery
dependency is implicitly bound to the current document, causing event delegation to not work properly when the app is rendered into a foreign document object (such as an iframe's contentDocument
).
In non-browser mode, this could be a "Document
-like" object as Ember only interact with a small subset of the DOM API in non- interactive mode. While the exact requirements have not yet been formalized, the SimpleDOM
library's implementation is known to work.
Default: the global `document` object
Please login to continue.