beautypg.com

Dom.canundo(), Dom.hastracingimage(), Dreamweaver.assetpalette.canedit() – Adobe Dreamweaver API Reference CS5 User Manual

Page 507

background image

502

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

dom.canUndo()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform an Undo operation.

Arguments
None.

Returns
A Boolean value:

true

if any steps remain to undo;

false

otherwise.

dom.hasTracingImage()

Availability
Dreamweaver 3.

Description
Checks whether the document has a tracing image.

Arguments
None.

Returns
A Boolean value:

true

if the document has a tracing image;

false

otherwise.

dreamweaver.assetPalette.canEdit()

Availability
Dreamweaver 4.

Description
Enables menu items in the Assets panel for editing.

Arguments
None.

Returns
Returns a Boolean value:

true

if the asset can be edited;

false

otherwise. Returns a

false

value for colors and URLs

in the Site list, and returns a

false

value for a multiple selection of colors and URLs in the Favorites list.