314
EXTENDING DREAMWEAVER CS4
Components
id="DWCFCsContext">
getCodeViewDropCode()
Availability
Dreamweaver MX.
Description
This function gets the code that is either dragged, cut, or copied into the Code view from the Components panel.
Arguments
componentRec
•
The
componentRec
argument is an object.
Returns
The string that contains the code for the component.
Example
The following example identifies the code for an Adobe ColdFusion Component (CFC):