Servis-Rhino 4211B Uživatelská příručka Strana 250

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 298
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 249
The Value Picker seems to have display problems within the Rich Page Editor. When
added, it does not appear to show in the visual canvas.
See also:
dojox/mobile/ValuePickerSlot
dojox/mobile/ComboBox
dojox/mobile/ValuePickerDatePicker
This widget provides a visual for picking a date.
dojox/mobile/SpinWheelDatePicker
dojox/mobile/ValuePickerTimePicker
dojox/mobile/ValuePickerSlot
This widget inserts a slot into a ValuePicker. Below is an example.
It is not uncommon to explicitly specify the style "width" to size the slot.
Some of its key properties include:
value – The current value of the slot.
labels – An array of possible values for the slot. A declarative example of labels
supplied in HTML might be:
<div data-dojo-type="dojox.mobile.ValuePickerSlot"
data-dojo-props="labels: ['Low','Medium', 'High']">
</div>
When adding labels using the properties view, take care as the data entered seems to be
'mangled' with quote types replaced and/or escaped. Experience seems to show that manually
editing the HTML source is the most reliable way to make changes.
items – an array of name/value pairs for the slot.
labelFrom – A starting value for the slot.
labelTo – An ending value for the slot.
step – The steps from "labelFrom" to "labelTo".
zeroPad – The number of zeros to pad left.
Page 250
Zobrazit stránku 249
1 2 ... 245 246 247 248 249 250 251 252 253 254 255 ... 297 298

Komentáře k této Příručce

Žádné komentáře