Debian Codegraph @

dojox/mobile/bidi/TreeView.js

raw symbols SCIP
1 define([
2 "dojo/_base/declare"
3 ], function(declare){
4
5 // module:
6 // dojox/mobile/bidi/TreeView
7
8 return declare(null, {
9 // summary:
10 // Support for control over text direction for mobile TreeView widget, using Unicode Control Characters to control text direction.
11 // description:
12 // Text direction attribute of the Tree is set to ListItem.
13 // This class should not be used directly.
14 // Mobile TreeView widget loads this module when user sets "has: {'dojo-bidi': true }" in data-dojo-config.
15 _customizeListItem: function(listItemArgs){
16 listItemArgs.textDir = this.textDir;
17 if(!this.isLeftToRight()){
18 listItemArgs.dir = "rtl";
19 listItemArgs.transitionDir = -1;
20 }
21 }
22
23 });
24 });