Sha256: d9eb5ed74eb9342c125d311667acb8410f64ea253ff2cf1c7e2149906d3cffc0

Contents?: true

Size: 749 Bytes

Versions: 4

Compression:

Stored size: 749 Bytes

Contents

//>>built
define("dojox/mobile/Badge",["dojo/_base/declare","dojo/_base/lang","dojo/dom-class","dojo/dom-construct","./iconUtils"],function(_1,_2,_3,_4,_5){
return _1("dojox.mobile.Badge",null,{value:"0",className:"mblDomButtonRedBadge",fontSize:16,constructor:function(_6,_7){
if(_6){
_2.mixin(this,_6);
}
this.domNode=_7?_7:_4.create("div");
_3.add(this.domNode,"mblBadge");
if(this.domNode.className.indexOf("mblDomButton")===-1){
_3.add(this.domNode,this.className);
}
if(this.fontSize!==16){
this.domNode.style.fontSize=this.fontSize+"px";
}
_5.createDomButton(this.domNode);
this.setValue(this.value);
},getValue:function(){
return this.domNode.firstChild.innerHTML||"";
},setValue:function(_8){
this.domNode.firstChild.innerHTML=_8;
}});
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/mobile/Badge.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/mobile/Badge.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/mobile/Badge.js
dojox-rails-0.11.0 vendor/assets/javascripts/mobile/Badge.js