diff options
Diffstat (limited to 'js/dojo/dojox/mobile/FixedSplitterPane.js')
| -rw-r--r-- | js/dojo/dojox/mobile/FixedSplitterPane.js | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/js/dojo/dojox/mobile/FixedSplitterPane.js b/js/dojo/dojox/mobile/FixedSplitterPane.js new file mode 100644 index 0000000..0599782 --- /dev/null +++ b/js/dojo/dojox/mobile/FixedSplitterPane.js @@ -0,0 +1,41 @@ +//>>built +define("dojox/mobile/FixedSplitterPane", [ + "dojo/_base/array", + "dojo/_base/declare", + "dojo/dom-class", + "dijit/_Contained", + "dijit/_Container", + "dijit/_WidgetBase" +], function(array, declare, domClass, Contained, Container, WidgetBase){ + +/*===== + var Contained = dijit._Contained; + var Container = dijit._Container; + var WidgetBase = dijit._WidgetBase; +=====*/ + + // module: + // dojox/mobile/FixedSplitterPane + // summary: + // A pane widget that is used in a dojox.mobile.FixedSplitter. + + return declare("dojox.mobile.FixedSplitterPane",[WidgetBase, Container, Contained],{ + // summary: + // A pane widget that is used in a dojox.mobile.FixedSplitter. + // description: + // FixedSplitterPane is a pane widget that is used in a + // dojox.mobile.FixedSplitter. It is a widget, but can be regarded + // as a simple <div> element. + + buildRendering: function(){ + this.inherited(arguments); + domClass.add(this.domNode, "mblFixedSplitterPane"); + }, + + resize: function(){ + array.forEach(this.getChildren(), function(child){ + if(child.resize){ child.resize(); } + }); + } + }); +}); |
