Sha256: 4a3542ca6e975b9760cf0d11c43fc9a8c7c75e62422317f5f7a9da559bdaa436
Contents?: true
Size: 1.31 KB
Versions: 3
Compression:
Stored size: 1.31 KB
Contents
//>>built define("dojox/app/widgets/_ScrollableMixin",["dojo/_base/declare","dojo/_base/lang","dojo/dom-class","dojo/dom-construct","./scrollable"],function(_1,_2,_3,_4,_5){ var _6=_1("dojox.app.widgets._ScrollableMixin",null,{scrollableParams:null,allowNestedScrolls:true,constructor:function(){ this.scrollableParams={}; },destroy:function(){ this.cleanup(); this.inherited(arguments); },startup:function(){ if(this._started){ return; } var _7=this.scrollableParams; this.init(_7); this.inherited(arguments); this.reparent(); },buildRendering:function(){ this.inherited(arguments); _3.add(this.domNode,"mblScrollableView"); this.domNode.style.overflow="hidden"; this.domNode.style.top="0px"; this.containerNode=_4.create("div",{className:"mblScrollableViewContainer"},this.domNode); this.containerNode.style.position="absolute"; this.containerNode.style.top="0px"; if(this.scrollDir==="v"){ this.containerNode.style.width="100%"; } },reparent:function(){ var i,_8,_9,c; for(i=0,_8=0,_9=this.domNode.childNodes.length;i<_9;i++){ c=this.domNode.childNodes[_8]; if(c===this.containerNode){ _8++; continue; } this.containerNode.appendChild(this.domNode.removeChild(c)); } },resize:function(){ this.inherited(arguments); array.forEach(this.getChildren(),function(_a){ if(_a.resize){ _a.resize(); } }); }}); _2.extend(_6,new _5()); return _6; });
Version data entries
3 entries across 3 versions & 1 rubygems