Sha256: 897f02d86d8a5ecd268f35ccc89d5f0b3aca39cdfe2b75bae03ce79985b3dbcc

Contents?: true

Size: 1.55 KB

Versions: 3

Compression:

Stored size: 1.55 KB

Contents

//>>built
define("dojox/dgauges/components/DefaultPropertiesMixin",["dojo/_base/declare","dojo/_base/Color"],function(_1,_2){
return _1("dojox.dgauges.components.DefaultPropertiesMixin",null,{minimum:0,maximum:100,snapInterval:1,majorTickInterval:NaN,minorTickInterval:NaN,minorTicksEnabled:true,value:0,interactionArea:"gauge",interactionMode:"mouse",animationDuration:0,_setMinimumAttr:function(v){
this.getElement("scale").scaler.minimum=v;
},_setMaximumAttr:function(v){
this.getElement("scale").scaler.maximum=v;
},_setSnapIntervalAttr:function(v){
this.getElement("scale").scaler.snapInterval=v;
},_setMajorTickIntervalAttr:function(v){
this.getElement("scale").scaler.majorTickInterval=v;
},_setMinorTickIntervalAttr:function(v){
this.getElement("scale").scaler.minorTickInterval=v;
},_setMinorTicksEnabledAttr:function(v){
this.getElement("scale").scaler.minorTicksEnabled=v;
},_setValueAttr:function(v){
this.getElement("scale").getIndicator("indicator").value=v;
},_setInteractionAreaAttr:function(v){
this.getElement("scale").getIndicator("indicator").interactionArea=v;
},_setInteractionModeAttr:function(v){
this.getElement("scale").getIndicator("indicator").interactionMode=v;
},_setAnimationDurationAttr:function(v){
this.getElement("scale").getIndicator("indicator").animationDuration=v;
},_setBorderColorAttr:function(v){
this.borderColor=new _2(v);
this.invalidateRendering();
},_setFillColorAttr:function(v){
this.fillColor=new _2(v);
this.invalidateRendering();
},_setIndicatorColorAttr:function(v){
this.indicatorColor=new _2(v);
this.invalidateRendering();
}});
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/dgauges/components/DefaultPropertiesMixin.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/dgauges/components/DefaultPropertiesMixin.js
dojox-rails-0.11.0 vendor/assets/javascripts/dgauges/components/DefaultPropertiesMixin.js