X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/source/Viewport.html?ds=sidebyside diff --git a/docs/source/Viewport.html b/docs/source/Viewport.html index 32015afa..bb7c1eb1 100644 --- a/docs/source/Viewport.html +++ b/docs/source/Viewport.html @@ -1,5 +1,6 @@ + The source code @@ -30,7 +31,7 @@ new Ext.Viewport({ collapsible: true, title: 'Navigation', width: 200 - // the west region might typically utilize a {@link Ext.tree.TreePanel TreePanel} or a Panel with {@link Ext.layout.AccordionLayout Accordion layout} + // the west region might typically utilize a {@link Ext.tree.TreePanel TreePanel} or a Panel with {@link Ext.layout.AccordionLayout Accordion layout} }, { region: 'south', title: 'Title for Panel', @@ -65,44 +66,45 @@ new Ext.Viewport({ * @xtype viewport */ Ext.Viewport = Ext.extend(Ext.Container, { - /* - * Privatize config options which, if used, would interfere with the - * correct operation of the Viewport as the sole manager of the - * layout of the document body. - */ + /* + * Privatize config options which, if used, would interfere with the + * correct operation of the Viewport as the sole manager of the + * layout of the document body. + */
/** * @cfg {Mixed} applyTo @hide - */ + */
/** * @cfg {Boolean} allowDomMove @hide - */ + */
/** * @cfg {Boolean} hideParent @hide - */ + */
/** * @cfg {Mixed} renderTo @hide - */ + */
/** * @cfg {Boolean} hideParent @hide - */ + */
/** * @cfg {Number} height @hide - */ + */
/** * @cfg {Number} width @hide - */ + */
/** * @cfg {Boolean} autoHeight @hide - */ + */
/** * @cfg {Boolean} autoWidth @hide - */ + */
/** * @cfg {Boolean} deferHeight @hide - */ + */
/** * @cfg {Boolean} monitorResize @hide - */ + */ + initComponent : function() { Ext.Viewport.superclass.initComponent.call(this); document.getElementsByTagName('html')[0].className += ' x-viewport'; @@ -119,9 +121,10 @@ Ext.Viewport = Ext.extend(Ext.Container, { }, fireResize : function(w, h){ - this.fireEvent('resize', this, w, h, w, h); + this.onResize(w, h, w, h); } }); -Ext.reg('viewport', Ext.Viewport); +Ext.reg('viewport', Ext.Viewport); + \ No newline at end of file