You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
894 B
34 lines
894 B
define([ |
|
"dojo/_base/declare", |
|
"dojo/dom-class", |
|
"./_TimePickerMixin", |
|
"./SpinWheel", |
|
"./SpinWheelSlot" |
|
], function(declare, domClass, TimePickerMixin, SpinWheel, SpinWheelSlot){ |
|
|
|
// module: |
|
// dojox/mobile/SpinWheelTimePicker |
|
|
|
return declare("dojox.mobile.SpinWheelTimePicker", [SpinWheel, TimePickerMixin], { |
|
// summary: |
|
// A SpinWheel-based time picker widget. |
|
// description: |
|
// SpinWheelTimePicker is a time picker widget. It is a subclass of |
|
// dojox/mobile/SpinWheel. It has two slots: hour and minute. |
|
|
|
slotClasses: [ |
|
SpinWheelSlot, |
|
SpinWheelSlot |
|
], |
|
|
|
slotProps: [ |
|
{labelFrom:0, labelTo:23, style:{width:"50px", textAlign:"right"}}, |
|
{labelFrom:0, labelTo:59, zeroPad:2, style:{width:"40px", textAlign:"right"}} |
|
], |
|
|
|
buildRendering: function(){ |
|
this.inherited(arguments); |
|
domClass.add(this.domNode, "mblSpinWheelTimePicker"); |
|
} |
|
}); |
|
});
|
|
|