aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/range-input.reel/range-input.js
blob: 0c247603ca7a9f450387e497fc411751de547b6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* <copyright>
 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
 (c) Copyright 2011 Motorola Mobility, Inc.  All Rights Reserved.
 </copyright> */
var Montage = require("montage").Montage,
    Component = require("ui/component").Component,
    TextInput = require("ui/text-input").TextInput;
/**
 * The input type="range" field
 */
var RangeInput = exports.RangeInput = Montage.create(TextInput, {

});

RangeInput.addAttributes({
        disabled: {dataType: 'boolean'},
        max: null,
        min: null,
        name: null,
        readonly: {dataType: 'boolean'},
        required: {dataType: 'boolean'},
        step: null
});