Debian Codegraph @

dojox/mobile/bidi/ProgressIndicator.js

raw symbols SCIP
1 define([
2 "dojo/_base/declare",
3 "dojo/dom-class"
4 ], function(declare, domClass){
5
6 // module:
7 // dojox/mobile/bidi/SimpleDialog
8
9 return declare(null, {
10
11 buildRendering:function(){
12 this.inherited(arguments);
13 if(!this.isLeftToRight()){
14 if(this.closeButton){
15 var s = Math.round(this.closeButtonNode.offsetHeight / 2);
16 this.closeButtonNode.style.left = -s + "px";
17 }
18 if(this.center){
19 domClass.add(this.domNode, "mblProgressIndicatorCenterRtl");
20 }
21 domClass.add(this.containerNode, "mblProgContainerRtl");
22 }
23 }
24
25 });
26 });
27