Adobe 38040334 - Dreamweaver CS3 User Manual page 47

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

Advertisement

• The
attribute specifies the name of the method and its argument list. The pattern attribute describes the
pattern
name of the object, the name of the method, and the method's arguments. The menu shows the list of arguments
for the method. The Code Hints menu appears when the user types
menu shows the methods that have been specified for the object. After that, the Code Hints menu opens a list of
the arguments for the method in the same way it does for a function.
• The
attribute specifies the icon to be used.
icon
Contents
None.
Container
The
tag.
menu
<parammenu>
Description
Used for any object (JavaScript) to specify parameter hinting for the parameters that the method or function takes.
Attributes
pattern, name, index, 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.
name
• The
attribute specifies the index number of the parameter being hinted (zero-based). This argument is
index
required.
• 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
, which indicates a list of nested
optionArray
support options array parameter type).
Contents
None.
Container
The
or
method
function
<parammenuitem>
Description
Used for any object (javascript) to specify parameter hinting for the parameters that the method or function takes.
Attributes
label, value, icon, datatype
, which indicates a lists of Spry data set columns.
<optionparammenu>
tag.
(including the period). This
objectname.
<optionparammenuitem>
and
<parammenuitem>
DREAMWEAVER CS3
Extending Dreamweaver
to display.
to display (used to
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents