source: Dev/trunk/src/client/dojox/mobile/bidi/TabBar.js

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 710 bytes
RevLine 
[483]1define([
2        "dojo/_base/declare",
3        "./common"
4], function(declare, common){
5
6        // module:
7        //              mobile/bidi/TabBar
8
9        return declare(null, {
10                // summary:
11                //              Support for control over text direction for mobile TabBar widget, using Unicode Control Characters to control text direction.
12                // description:
13                //              Attribute textDir is set to TabBar and to TabBarButtons.
14                //              This class should not be used directly.
15                //              Mobile TabBar widget loads this module when user sets "has: {'dojo-bidi': true }" in data-dojo-config.
16                _setTextDirAttr: function(/*String*/ textDir){
17                        if(!this._created || this.textDir !== textDir){
18                                this._set("textDir", textDir);
19                                common.setTextDirForButtons(this);
20                        }
21                }
22        });
23});
Note: See TracBrowser for help on using the repository browser.