Servis-Rhino 4211B Betriebsanweisung Seite 249

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 248
below-centered
A companion method called "hide()" will hide a previously shown tooltip.
It also appears that to show correctly, a class called "mblTooltipBubble" must be applied to
the Tooltip widget.
The following is an example of use which adds a tooltip to a button.
<button data-dojo-type="dojox.mobile.Button" data-dojo-props="label:'My Label2'">
<script type="dojo/on" data-dojo-event="mouseover">
tt1.show(this, ["after"]);
</script>
<script type="dojo/on" data-dojo-event="mouseout">
tt1.hide();
</script>
</button>
<div data-dojo-type="dojox.mobile.Tooltip"
data-dojo-id="tt1"
class="mblTooltipBubble">Hello There!</div>
When the button has the mouse hovered over it, the tooltip appears as follows:
dojox/mobile/ValuePicker
This widget provides a visual for picking a value. It is composed of a number of "slots" each of
which has a scroll turner (+ or -). Clicking the + or – scrolls the value in the associated direction.
Here we see an example ValuePicker with two slots:
The best way to think of this control is like that of a thumb dial.
Each slot is described by a dojox/mobile/ValuePickerSlot.
Page 249
Seitenansicht 248
1 2 ... 244 245 246 247 248 249 250 251 252 253 254 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare