DwtButton

Revision as of 21:19, 15 April 2006 by IamPersistent (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Methods setMenu(menuOrCallback, shouldToggle, followIconStyle) Adds a dropdown menu to the button, available through a small down-arrow.

  • @param menuOrCallback The dropdown menu or an AjxCallback object. If a
                          callback is given, it is called the first time the
                         menu is requested. The callback must return a valid 
                         DwtMenu object.
  • @param shouldToggle
  • @param followIconStyle style of menu item (should be checked or radio style) for
  • which the button icon should reflect the menu item icon
  • /

DwtButton.prototype.setMenu = function(menuOrCallback, shouldToggle, followIconStyle)

Jump to: navigation, search