Adobe 38040334 - Dreamweaver CS3 User Manual page 48

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

• The
attribute specifies the name to display. This argument is required.
label
• The
attribute specifies the value to drop when the item is selected in the code hint menu. This argument is
value
required.
• The
attribute specifies the icon to be used in the code hint menu. This argument is required.
icon
• The
attribute allows you to specify
datatype
added when the user selects a value from the code hint menu. This argument is optional.
Contents
None.
Container
The
tag.
parammenu
<optionparammenu>
Description
Used for any object (javascript) to specify options array hinting for the arguments that the method or function takes.
An options array is an argument that can have subarguments in the form of
an options array argument to allow users to configure the behavior of an object (for example, a data set, widget, or
effect). Options arrays generally appear as
Attributes
pattern, label, value, icon, type
• The
attribute specifies the character(s) that trigger the Code Hint menu. This argument is required.
pattern
• The
attribute specifies the name of the parameter. This argument is required.
label
• The
attribute specifies the value of the parameter to insert when the user selects the code hint. This
value
argument is required.
• The
attribute specifies the icon to be used. This argument is required.
icon
• The
attribute specifies the data type. The following data types are supported:
type
(the default), which indicates a list of nested
enumerated
spryDataReferences
, which indicates a list of CSS classes available to the page.
cssStyle
, which indicates a list of CSS selector ID rules available to the page.
cssId
Contents
None.
Container
The
tag of type
parammenu
<optionparammenuitem>
Description
Used for any object (javascript) to specify parameter hinting for the parameters that the method or function takes.
string
{option1: value1, option2: value2, option3: value3, ...}
, which indicates a lists of Spry data set columns.
.
optionArray
, which indicates that closing quotation marks are to be
option:value
optionparammenuitem
DREAMWEAVER CS3
Extending Dreamweaver
. Most Spry objects use
to display.
42

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents