DhModule.getDocument

Overview | Methods | This Package | All Packages

DhModule.getDocument

Retrieves the current DhDocument object associated with this module.

Syntax

public final DhDocument getDocument()

Return Value

Returns the current DhDocument, or returns null if the page has not finished loading.

Remarks

Calling this method is valid only after the document has been loaded. Call  DhDocument.onDocumentLoad to be notified when this occurs.