sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
711 B

define([
"dojo/_base/declare"
], function(declare){
// module:
// dojox/mobile/bidi/TreeView
return declare(null, {
// summary:
// Support for control over text direction for mobile TreeView widget, using Unicode Control Characters to control text direction.
// description:
// Text direction attribute of the Tree is set to ListItem.
// This class should not be used directly.
// Mobile TreeView widget loads this module when user sets "has: {'dojo-bidi': true }" in data-dojo-config.
_customizeListItem: function(listItemArgs){
listItemArgs.textDir = this.textDir;
if(!this.isLeftToRight()){
listItemArgs.dir = "rtl";
listItemArgs.transitionDir = -1;
}
}
});
});