Optionparammenuitem, Property – Adobe Extending Dreamweaver CS4 User Manual
Page 48

42
EXTENDING DREAMWEAVER CS4
Customizing Code view
•
The
value
attribute specifies the value of the parameter to insert when the user selects the code hint. This argument
is required.
•
The
icon
attribute specifies the icon to be used. This argument is required.
•
The
type
attribute specifies the data type. The following data types are supported:
•
enumerated
(the default), which indicates a list of nested
optionparammenuitem
to display.
•
spryDataReferences
, which indicates a list of Spry data set columns.
•
cssStyle
, which indicates a list of CSS classes available to the page.
•
cssId
, which indicates a list of CSS selector ID rules available to the page.
Contents
None.
Container
The
parammenu
tag of type
optionArray
.
Description
Used for any object (JavaScript) to specify parameter hinting for the parameters that the method or function takes.
Attributes
label, value, icon, {datatype}
•
The
label
attribute specifies the name to display. This argument is required.
•
The
value
attribute specifies value to drop when the item is selected in the code hints menu. This argument is
required.
•
The
icon
attribute specifies the icon to be used in the code hints menu. This argument is required.
•
The
datatype
attribute allows you to specify
string
, which indicates that closing quotation marks are to be added
when the user selects a value from the code hints menu. This argument is optional.
Contents
None.
Container
The
tag.
Description
This tag describes properties or fields of an object and has the following standard attributes.
Attributes
label
,
value
,
icon
,
object
,
source
,
static
,
propType
,
item
•
The
label
attribute is the string that Dreamweaver displays in the pop-up menu.