Dom.getislibrarydocument(), Dom.getistemplatedocument(), Dom.getselectededitableregion() – Adobe Dreamweaver API Reference CS5 User Manual
Page 331

326
DREAMWEAVER API REFERENCE
Page content
Last updated 8/27/2013
Arguments
None.
Returns
An array of element nodes.
Example
“
dom.getSelectedEditableRegion()
dom.getIsLibraryDocument()
Availability
Dreamweaver 3.
Description
Determines whether the document is a library item.
Arguments
None.
Returns
A Boolean value that indicates whether the document is an LBI file.
dom.getIsTemplateDocument()
Availability
Dreamweaver 3.
Description
Determines whether the document is a template.
Arguments
None.
Returns
A Boolean value that indicates whether the document is a DWT file.
dom.getSelectedEditableRegion()
Availability
Dreamweaver 3.
Description
If the selection or insertion point is inside an editable region, this function gets the position of the editable region
among all others in the body of the document.