Servis-Rhino 4211B Betriebsanweisung Seite 163

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 162
addChild()
bindDomNode()
See also:
dijit/MenuItem
dijit/popup
dijit/MenuBar
dijit/MenuItem
This widget represents an entry in a menu. Among its properties are:
label – The text to show within the menu item.
iconClass – The CSS class to use to show an image in the menu item.
The widget also publishes a number of useful events
"click" – Called when the menu item is clicked.
dijit/MenuSeparator
This widget can be used as a child of the dijit/Menu or dijit/DropDownMenu to add a
horizontal separator. It has no semantics other than to provide a visual placeholder.
See also:
dijit/Menu
dijit/DropDownMenu
dijit/DropDownMenu
dijit/popup
The popup widget is a popup manager that will dynamically show or hide another widget. This is
most commonly used to show or hide a menu. When being used to show a menu, a very good
practice is to give the menu "focus" once it has been shown. In addition, if the menu loses focus
(i.e. a "blur" event), that should be an indication for the menu to disappear.
The popup object is a singleton. You don't create new instances of it. It has two important methods
on it. One is called "open()" which shows the desired widget while the other is called
"close()" which hides the desired widget.
The primary parameters of interest to the popup open() function are:
x,y – The x and y coordinates of where the popup should appear
parent – The widget that is the parent of the popup. It is this widget that is opening the
popup.
Page 163
Seitenansicht 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare