The Dreamweaver JavaScript API > Enablers > dreamweaver.canSaveDocumentAsTemplate() |
dreamweaver.canSaveDocumentAsTemplate()
Availability
Dreamweaver 3.0
Description
Checks whether Dreamweaver can perform a Save As Template operation on the specified document.
Arguments
documentObject
documentObject is the object at the root of a document's DOM tree (the value returned by dreamweaver.getDocumentDOM()).
Returns
A Boolean value indicating whether the document can be saved as a template.