source: Dev/branches/rest-dojo-ui/client/dojox/mobile/FixedSplitterPane.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 1.0 KB
Line 
1define([
2        "dojo/_base/array",
3        "dojo/_base/declare",
4        "dojo/dom-class",
5        "dijit/_Contained",
6        "dijit/_Container",
7        "dijit/_WidgetBase"
8], function(array, declare, domClass, Contained, Container, WidgetBase){
9
10/*=====
11        var Contained = dijit._Contained;
12        var Container = dijit._Container;
13        var WidgetBase = dijit._WidgetBase;
14=====*/
15
16        // module:
17        //              dojox/mobile/FixedSplitterPane
18        // summary:
19        //              A pane widget that is used in a dojox.mobile.FixedSplitter.
20
21        return declare("dojox.mobile.FixedSplitterPane",[WidgetBase, Container, Contained],{
22                // summary:
23                //              A pane widget that is used in a dojox.mobile.FixedSplitter.
24                // description:
25                //              FixedSplitterPane is a pane widget that is used in a
26                //              dojox.mobile.FixedSplitter. It is a widget, but can be regarded
27                //              as a simple <div> element.
28
29                buildRendering: function(){
30                        this.inherited(arguments);
31                        domClass.add(this.domNode, "mblFixedSplitterPane");
32                },
33
34                resize: function(){
35                        array.forEach(this.getChildren(), function(child){
36                                if(child.resize){ child.resize(); }
37                        });
38                }
39        });
40});
Note: See TracBrowser for help on using the repository browser.