dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
19 lines (15 loc) • 337 B
JavaScript
define([
"dojo/_base/declare",
"dojo/dom-class"
], function(declare, domClass){
// module:
// mobile/bidi/FormLayout
return declare(null, {
buildRendering:function(){
this.inherited(arguments);
if(!this.isLeftToRight() && this.rightAlign){
domClass.add(this.domNode, "mblFormLayoutRightAlignRtl");
}
}
});
});