UNPKG

dojox

Version:

Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.

32 lines (27 loc) 888 B
define([ "dojo/_base/declare", "./_PickerBase", "./ValuePickerSlot" // to load ValuePickerSlot for you (no direct references) ], function(declare, PickerBase){ // module: // dojox/mobile/ValuePicker return declare("dojox.mobile.ValuePicker", PickerBase, { // summary: // A value picker that has a stepper. // description: // ValuePicker is a widget for selecting values. The values // can be selected by using the Plus or Minus buttons, or by // entering the value directly into the input field. // This type of value picker is typically seen on Android devices. /* internal properties */ baseClass: "mblValuePicker", onValueChanged: function(/*dojox/mobile/ValuePickerSlot*/slot){ // summary: // Callback when the slot value is changed. // slot: // The slot widget whose value has been changed. // tags: // callback } }); });