<property>

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.

  • The value attribute is the string that Dreamweaver inserts in the document when you select the command. When the user selects the item from the menu and presses Enter or Return, Dreamweaver replaces all the text that the user typed since the menu opened. The user typed the pattern-matching characters before the menu opened, so Dreamweaver does not insert them again.

  • The icon attribute, which is optional, specifies the path to an image file that Dreamweaver displays as an icon to the left of the menu text. The location is expressed as a URL, relative to the Configuration folder.

  • The object attribute refers to the type the menuitem belongs to. For example, Built-In Data Type: String or user-defined data type custom JavaScript file.

  • The source attribute refers to the location in which it is defined or originates from. For example, DOM/Javascript/ custom file.js.

  • The static attribute is a Boolean value. static = true indicates that the method does not work on specific object instance, but works on object type itself. For example,
    Number.MAX_VALUE
  • The propType attribute refers to property type, which in turn can be an object type to support cascaded hinting of properties. For example,
    domElement.innerHTML.<code hints for String type>
  • The item attribute refers to the type of element when propType attribute is the collection container type. The item specifies what type each item in the container is (assuming it is a homogenous set, that is, elements of the same type).

Contents

None.

Container

The menu tag.