Debian Codegraph @

dojox/mobile/SpinWheelTimePicker.js

raw symbols SCIP
1 define([
2 "dojo/_base/declare",
3 "dojo/dom-class",
4 "./_TimePickerMixin",
5 "./SpinWheel",
6 "./SpinWheelSlot"
7 ], function(declare, domClass, TimePickerMixin, SpinWheel, SpinWheelSlot){
8
9 // module:
10 // dojox/mobile/SpinWheelTimePicker
11
12 return declare("dojox.mobile.SpinWheelTimePicker", [SpinWheel, TimePickerMixin], {
13 // summary:
14 // A SpinWheel-based time picker widget.
15 // description:
16 // SpinWheelTimePicker is a time picker widget. It is a subclass of
17 // dojox/mobile/SpinWheel. It has two slots: hour and minute.
18
19 slotClasses: [
20 SpinWheelSlot,
21 SpinWheelSlot
22 ],
23
24 slotProps: [
25 {labelFrom:0, labelTo:23, style:{width:"50px", textAlign:"right"}},
26 {labelFrom:0, labelTo:59, zeroPad:2, style:{width:"40px", textAlign:"right"}}
27 ],
28
29 buildRendering: function(){
30 this.inherited(arguments);
31 domClass.add(this.domNode, "mblSpinWheelTimePicker");
32 }
33 });
34 });