isDOMRequired()

Availability

Adobe Dreamweaver MX.

Description

Specifies whether the toolbar command requires a valid DOM to operate. If this function returns a true value or if the function is not defined, Adobe Dreamweaver assumes that the command requires a valid DOM and synchronizes the Code view and Design view for the document before executing the associated command. This function is equivalent to the domRequired attribute in a toolbar item tag.

Arguments

None.

Returns

Adobe Dreamweaver expects a Boolean value: true if the DOM is required; false otherwise.

Example

function isDOMRequired(){ return false;}