| 1 | define([ |
| 2 | "dojo/_base/declare" |
| 3 | ], function(declare){ |
| 4 | |
| 5 | // module: |
| 6 | // dojox/mobile/bidi/_StoreListMixin |
| 7 | |
| 8 | return declare(null, { |
| 9 | // summary: |
| 10 | // Support for control over text direction for mobile _StoreListMixin and _DataListMixin. |
| 11 | // description: |
| 12 | // Property textDir is set to created ListItem. |
| 13 | // This class should not be used directly. |
| 14 | // Mobile _StoreListMixin and _DataListMixin load this module when user sets "has: {'dojo-bidi': true }" in data-dojo-config. |
| 15 | createListItem: function(item){ |
| 16 | var w = this.inherited(arguments); |
| 17 | w.set("textDir", this.textDir); |
| 18 | return w; |
| 19 | } |
| 20 | }); |
| 21 | }); |