X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2FRoo.docs.js;h=b65fbb079897fd00eb74c71b9f6a7548cc23557d;hb=75cbc4ce04c9c01ac47671cb01320ce699128d00;hp=d9bbc060436bc31a83c6e9551f178e506e7a51bf;hpb=37a10bf3a660fe0ebed67ac24aa1bf4121974421;p=roojs1 diff --git a/docs/Roo.docs.js b/docs/Roo.docs.js index d9bbc06043..b65fbb0798 100644 --- a/docs/Roo.docs.js +++ b/docs/Roo.docs.js @@ -11,6 +11,7 @@ Roo.docs = new Roo.XComponent({ 'ae635f08107a69569e636835f24e6f6f' :" extends ", '87f9f735a1d36793ceaecd4e47124b63' :"Events", 'd41d8cd98f00b204e9800998ecf8427e' :"", + '4d9ee8f98abde282da987fed0aac295c' :"Children that can be added using addxtype({...})", '9b34238e8113db140b452beec500024b' :"Roo JS Documentation", '50f33d14f129e4548c1c270fd6725a78' :"Configuration options", 'e64b94523532dbac62df6795a5153f04' :"doc-desc", @@ -18,6 +19,7 @@ Roo.docs = new Roo.XComponent({ 'd2b697ad8e989a6c4592987f22f5bbfc' :"doc-comments", 'f361257612a512f9be2fdc2abfb25aef' :"Defined by", '494a64a432ff6a121e4ab9003c7a0df3' :"parentcls", + '3c81cc62cd8a24b231d0c0db34feda61' :"Implementations", 'f561aaf6ef0bf14d4208bb46a4ccb3ad' :"xxx", '9bd81329febf6efe22788e03ddeaf0af' :" Class ", 'a1d108496af420635536a4e29e87d42b' :"Constructor, Static and Public Methods", @@ -240,20 +242,7 @@ Roo.docs = new Roo.XComponent({ { // _this.mobileNavGroup.autoExpand(); - - if(!this.el.select('.navbar-collapse',true).first().hasClass('in')){ - this.el.select('.navbar-collapse',true).first().removeClass('in'); - return true; - - } - if(!this.el.select('.navbar-collapse',true).first().hasClass('in')){ - // this.el.select('.navbar-collapse',true).first().setHeight(innerHeight-50); - //(function() { - // this.el.select('.navbar-collapse',true).first().setHeight(innerHeight-50); - //}).defer(500,this); - - return; - } + }, render : function (_self) { @@ -324,6 +313,12 @@ Roo.docs = new Roo.XComponent({ xtype : 'Header', html : _this._strings['9b34238e8113db140b452beec500024b'] /* Roo JS Documentation */, level : 1, + listeners : { + render : function (_self) + { + _this.roo_title = this; + } + }, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap' }, @@ -374,6 +369,12 @@ Roo.docs = new Roo.XComponent({ xtype : 'Header', html : _this._strings['9bd81329febf6efe22788e03ddeaf0af'] /* Class */, level : 4, + listeners : { + render : function (_self) + { + _this.classType = this; + } + }, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap', items : [ @@ -436,6 +437,12 @@ Roo.docs = new Roo.XComponent({ xtype : 'Header', html : _this._strings['3673e725413179fe76f341ed908a5c36'] /* Defined in: */, level : 5, + listeners : { + render : function (_self) + { + _this.doc_source_row = this; + } + }, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap', items : [ @@ -486,313 +493,342 @@ Roo.docs = new Roo.XComponent({ html : _this._strings['d2b697ad8e989a6c4592987f22f5bbfc'] /* doc-comments */, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap' - } - ] - }, - { - xtype : 'Column', - md : 3, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ + }, { xtype : 'Container', - cls : 'doc-augments', - header : _this._strings['3e6ec55e2dff4342e3f25b0b0b988de9'] /* Inheritance tree */, + cls : 'doc-table-container', + expandable : true, + expanded : true, + header : _this._strings['50f33d14f129e4548c1c270fd6725a78'] /* Configuration options */, panel : 'primary', + style : 'margin-top:15px', listeners : { render : function (_self) { - _this.augments = this; + _this.configTableContainer = this; } }, xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap' - } - ] - } - ] - }, - { - xtype : 'Container', - cls : 'doc-table-container', - expandable : true, - expanded : true, - header : _this._strings['50f33d14f129e4548c1c270fd6725a78'] /* Configuration options */, - panel : 'primary', - style : 'margin-top:15px', - listeners : { - render : function (_self) - { - _this.configTableContainer = this; - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ - { - xtype : 'Table', - rowSelection : true, - striped : true, - listeners : { - render : function (_self) - { - _this.configTable = this; - }, - rowclass : function (_self, rowcfg) - { - rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member '; - rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); - }, - rowclick : function (_self, el, rowIndex, e) - { - if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { - return false; + '|xns' : 'Roo.bootstrap', + items : [ + { + xtype : 'Table', + responsive : true, + rowSelection : true, + striped : true, + listeners : { + render : function (_self) + { + _this.configTable = this; + }, + rowclass : function (_self, rowcfg) + { + rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member '; + rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); + }, + rowclick : function (_self, el, rowIndex, e) + { + if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { + return false; + } + + var r = this.store.getAt(rowIndex); + r.json.expanded = !r.json.expanded ; + this.refreshRow(r); } + }, + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + store : { + xtype : 'Store', + xns : Roo.data, + '|xns' : 'Roo.data', + proxy : { + xtype : 'MemoryProxy', + xns : Roo.data, + '|xns' : 'Roo.data' + }, + reader : { + xtype : 'ArrayReader', + fields : [ 'name', 'type', 'desc', 'memberOf' ], + xns : Roo.data, + '|xns' : 'Roo.data' + } + }, + cm : [ + { + xtype : 'ColumnModel', + dataIndex : 'name', + header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, + renderer : function(v,x,r) { - var r = this.store.getAt(rowIndex); - r.json.expanded = !r.json.expanded ; - this.refreshRow(r); - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - store : { - xtype : 'Store', - xns : Roo.data, - '|xns' : 'Roo.data', - proxy : { - xtype : 'MemoryProxy', - xns : Roo.data, - '|xns' : 'Roo.data' + return Roo.docs.template.config(r.json); + + + }, + xs : 11, + xns : Roo.grid, + '|xns' : 'Roo.grid' + }, + { + xtype : 'ColumnModel', + dataIndex : 'memberOf', + header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, + renderer : function(v,x,r) { + if (r.json.memberOf == Roo.docs.init.currentClass) { + return ''; + } + + return '' + r.json.memberOf + ''; + + }, + xs : 1, + xns : Roo.grid, + '|xns' : 'Roo.grid' + } + ] + } + ] }, - reader : { - xtype : 'ArrayReader', - fields : [ 'name', 'type', 'desc', 'memberOf' ], - xns : Roo.data, - '|xns' : 'Roo.data' - } - }, - cm : [ { - xtype : 'ColumnModel', - dataIndex : 'name', - header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, - md : 11, - renderer : function(v,x,r) { - - return Roo.docs.template.config(r.json); - - + xtype : 'Container', + cls : 'doc-table-container', + expandable : true, + expanded : true, + header : _this._strings['a1d108496af420635536a4e29e87d42b'] /* Constructor, Static and Public Methods */, + panel : 'primary', + listeners : { + render : function (_self) + { + _this.methodsTableContainer = this; + } }, - xns : Roo.grid, - '|xns' : 'Roo.grid' - }, - { - xtype : 'ColumnModel', - dataIndex : 'memberOf', - header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, - md : 1, - renderer : function(v,x,r) { - if (r.json.memberOf == Roo.docs.init.currentClass) { - return ''; + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + items : [ + { + xtype : 'Table', + responsive : true, + rowSelection : true, + listeners : { + render : function (_self) + { + _this.methodsTable = this; + }, + rowclass : function (_self, rowcfg) + { + var j = rowcfg.record.json; + var rc = j.memberOf == Roo.docs.init.currentClass || j.isConstructor ? 'doc-added-member ' : 'doc-not-member '; + rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); + }, + rowclick : function (_self, el, rowIndex, e) + { + if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { + return false; } - - return '' + r.json.memberOf + ''; - - }, - xs : 0, - xns : Roo.grid, - '|xns' : 'Roo.grid' - } - ] - } - ] - }, - { - xtype : 'Container', - cls : 'doc-table-container', - expandable : true, - expanded : true, - header : _this._strings['a1d108496af420635536a4e29e87d42b'] /* Constructor, Static and Public Methods */, - panel : 'primary', - listeners : { - render : function (_self) - { - _this.methodsTableContainer = this; - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ - { - xtype : 'Table', - rowSelection : true, - listeners : { - render : function (_self) - { - _this.methodsTable = this; - }, - rowclass : function (_self, rowcfg) - { - var j = rowcfg.record.json; - var rc = j.memberOf == Roo.docs.init.currentClass || j.isConstructor ? 'doc-added-member ' : 'doc-not-member '; - rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); - }, - rowclick : function (_self, el, rowIndex, e) - { - if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { - return false; + var r = this.store.getAt(rowIndex); + r.json.expanded = !r.json.expanded ; + this.refreshRow(r); } - var r = this.store.getAt(rowIndex); - r.json.expanded = !r.json.expanded ; - this.refreshRow(r); - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - store : { - xtype : 'Store', - sortInfo : { field : 'name', direction : 'ASC' }, - xns : Roo.data, - '|xns' : 'Roo.data', - proxy : { - xtype : 'MemoryProxy', - xns : Roo.data, - '|xns' : 'Roo.data' + }, + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + store : { + xtype : 'Store', + sortInfo : { field : 'name', direction : 'ASC' }, + xns : Roo.data, + '|xns' : 'Roo.data', + proxy : { + xtype : 'MemoryProxy', + xns : Roo.data, + '|xns' : 'Roo.data' + }, + reader : { + xtype : 'ArrayReader', + fields : [ 'name', 'type', 'desc', 'memberOf' ], + xns : Roo.data, + '|xns' : 'Roo.data' + } + }, + cm : [ + { + xtype : 'ColumnModel', + dataIndex : 'name', + header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, + renderer : function(v,x,r) { + + return Roo.docs.template.method(r.json); + + + }, + sm : 11, + sortable : false, + xns : Roo.grid, + '|xns' : 'Roo.grid' + }, + { + xtype : 'ColumnModel', + dataIndex : 'memberOf', + header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, + renderer : function(v,x,r) { + + if (r.json.memberOf == Roo.docs.init.currentClass) { + return ''; + } + return '' + r.json.memberOf + ''; + + }, + sm : 1, + xns : Roo.grid, + '|xns' : 'Roo.grid' + } + ] + } + ] }, - reader : { - xtype : 'ArrayReader', - fields : [ 'name', 'type', 'desc', 'memberOf' ], - xns : Roo.data, - '|xns' : 'Roo.data' - } - }, - cm : [ { - xtype : 'ColumnModel', - dataIndex : 'name', - header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, - md : 11, - renderer : function(v,x,r) { - - return Roo.docs.template.method(r.json); - - + xtype : 'Container', + cls : 'doc-table-container', + expandable : true, + expanded : true, + header : _this._strings['87f9f735a1d36793ceaecd4e47124b63'] /* Events */, + panel : 'primary', + listeners : { + render : function (_self) + { + _this.eventsTableContainer = this; + } }, - sortable : false, - xns : Roo.grid, - '|xns' : 'Roo.grid' - }, - { - xtype : 'ColumnModel', - dataIndex : 'memberOf', - header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, - md : 1, - renderer : function(v,x,r) { - - if (r.json.memberOf == Roo.docs.init.currentClass) { - return ''; + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + items : [ + { + xtype : 'Table', + responsive : true, + rowSelection : true, + listeners : { + render : function (_self) + { + _this.eventsTable = this; + }, + rowclass : function (_self, rowcfg) + { + rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member '; + rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); + }, + rowclick : function (_self, el, rowIndex, e) + { + if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { + return false; } - return '' + r.json.memberOf + ''; - - }, - xs : 0, - xns : Roo.grid, - '|xns' : 'Roo.grid' + var r = this.store.getAt(rowIndex); + r.json.expanded = !r.json.expanded ; + this.refreshRow(r); + } + }, + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + store : { + xtype : 'Store', + xns : Roo.data, + '|xns' : 'Roo.data', + proxy : { + xtype : 'MemoryProxy', + xns : Roo.data, + '|xns' : 'Roo.data' + }, + reader : { + xtype : 'ArrayReader', + fields : [ 'name', 'type', 'desc', 'memberOf' ], + xns : Roo.data, + '|xns' : 'Roo.data' + } + }, + cm : [ + { + xtype : 'ColumnModel', + dataIndex : 'name', + header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, + md : 11, + renderer : function(v,x,r) { + + return Roo.docs.template.event(r.json); + + + }, + xns : Roo.grid, + '|xns' : 'Roo.grid' + }, + { + xtype : 'ColumnModel', + dataIndex : 'memberOf', + header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, + md : 1, + renderer : function(v,x,r) { + if (r.json.memberOf == Roo.docs.init.currentClass) { + return ''; + } + + return '' + r.json.memberOf + ''; + + }, + xs : 0, + xns : Roo.grid, + '|xns' : 'Roo.grid' + } + ] + } + ] } ] - } - ] - }, - { - xtype : 'Container', - cls : 'doc-table-container', - expandable : true, - expanded : true, - header : _this._strings['87f9f735a1d36793ceaecd4e47124b63'] /* Events */, - panel : 'primary', - listeners : { - render : function (_self) - { - _this.eventsTableContainer = this; - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ + }, { - xtype : 'Table', - rowSelection : true, - listeners : { - render : function (_self) - { - _this.eventsTable = this; - }, - rowclass : function (_self, rowcfg) - { - rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member '; - rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); - }, - rowclick : function (_self, el, rowIndex, e) - { - if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { - return false; - } - var r = this.store.getAt(rowIndex); - r.json.expanded = !r.json.expanded ; - this.refreshRow(r); - } - }, + xtype : 'Column', + md : 3, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap', - store : { - xtype : 'Store', - xns : Roo.data, - '|xns' : 'Roo.data', - proxy : { - xtype : 'MemoryProxy', - xns : Roo.data, - '|xns' : 'Roo.data' + items : [ + { + xtype : 'Container', + cls : 'doc-augments', + header : _this._strings['3e6ec55e2dff4342e3f25b0b0b988de9'] /* Inheritance tree */, + panel : 'primary', + listeners : { + render : function (_self) + { + _this.augments = this; + } + }, + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap' }, - reader : { - xtype : 'ArrayReader', - fields : [ 'name', 'type', 'desc', 'memberOf' ], - xns : Roo.data, - '|xns' : 'Roo.data' - } - }, - cm : [ { - xtype : 'ColumnModel', - dataIndex : 'name', - header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, - md : 11, - renderer : function(v,x,r) { - - return Roo.docs.template.event(r.json); - - + xtype : 'Container', + cls : 'doc-implementors', + header : _this._strings['3c81cc62cd8a24b231d0c0db34feda61'] /* Implementations */, + panel : 'primary', + listeners : { + render : function (_self) + { + _this.implementors = this; + } }, - xns : Roo.grid, - '|xns' : 'Roo.grid' + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap' }, { - xtype : 'ColumnModel', - dataIndex : 'memberOf', - header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, - md : 1, - renderer : function(v,x,r) { - if (r.json.memberOf == Roo.docs.init.currentClass) { - return ''; - } - - return '' + r.json.memberOf + ''; - + xtype : 'Container', + cls : 'doc-children', + header : _this._strings['4d9ee8f98abde282da987fed0aac295c'] /* Children that can be added using addxtype({...}) */, + panel : 'primary', + listeners : { + render : function (_self) + { + _this.doc_children = this; + } }, - xs : 0, - xns : Roo.grid, - '|xns' : 'Roo.grid' + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap' } ] }