Debian Codegraph @

dojox/mobile/bidi/_ComboBoxMenu.js

raw symbols SCIP
1 define([
2 "dojo/_base/declare",
3 "dojo/dom-construct",
4 "dojo/dom-class",
5 "dojo/dom-style"
6 ],
7 function(declare, domConstruct, domClass, domStyle){
8 // module:
9 // dojox/mobile/bidi/_ComboBoxMenu
10
11 return declare(null, {
12
13 buildRendering: function(){
14 this.inherited(arguments);
15 // dojox.mobile mirroring support
16 if(!this.isLeftToRight()){
17 this.containerNode.style.left = "auto";
18 domStyle.set(this.containerNode, { position:"absolute", top:0, right:0 });
19 domClass.remove(this.previousButton, "mblComboBoxMenuItem");
20 domClass.add(this.previousButton, "mblComboBoxMenuItemRtl");
21 domClass.remove(this.nextButton, "mblComboBoxMenuItem");
22 domClass.add(this.nextButton, "mblComboBoxMenuItemRtl");
23 }
24 }
25
26 });
27 });