Debian Codegraph @

dojox/mobile/bidi/Icon.js

raw symbols SCIP
1 define([
2 "dojo/_base/declare",
3 "dojo/dom-style",
4 "../_css3"
5 ], function(declare, domStyle, css3){
6
7 // module:
8 // mobile/bidi/Icon
9
10 return declare(null, {
11
12 _setCustomTransform:function(){
13 if((this.dir || domStyle.get(this.domNode, "direction")) == "rtl"){
14 domStyle.set(this.domNode.firstChild, css3.add({"direction":"ltr"}, {}));
15 domStyle.set(this.domNode, css3.add({}, {transform:"scaleX(-1)"}));
16 }
17 }
18 });
19 });