source: Dev/trunk/src/client/dojox/mobile/SpinWheelTimePicker.js @ 532

Last change on this file since 532 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 894 bytes
Line 
1define([
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});
Note: See TracBrowser for help on using the repository browser.