X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsrc%2FRoo_bootstrap_Column.js.html;fp=docs%2Fsymbols%2Fsrc%2FRoo_bootstrap_Column.js.html;h=e51388bda020b588e3a3c45ca8cc5a5cca494f60;hb=c1c0168c0e693c4262f3f744a82419f9d9b1807f;hp=eaae790587f9bc766f73579ceeaddc23bd5099f1;hpb=b282409b66344f6d0ff1999b55639cfd80097128;p=roojs1 diff --git a/docs/symbols/src/Roo_bootstrap_Column.js.html b/docs/src/Roo_bootstrap_Column.js.html similarity index 96% rename from docs/symbols/src/Roo_bootstrap_Column.js.html rename to docs/src/Roo_bootstrap_Column.js.html index eaae790587..e51388bda0 100644 --- a/docs/symbols/src/Roo_bootstrap_Column.js.html +++ b/docs/src/Roo_bootstrap_Column.js.html @@ -1,4 +1,4 @@ -../roojs1/Roo/bootstrap/Column.js/* +/home/alan/gitlive/roojs1/Roo/bootstrap/Column.js/* * - LGPL * * column @@ -38,7 +38,7 @@ }; Roo.extend(Roo.bootstrap.Column, Roo.bootstrap.Component, { - + xs: false, sm: false, md: false, @@ -54,44 +54,44 @@ icon : false, hidden : false, fasize : 1, - + getAutoCreate : function(){ var cfg = Roo.apply({}, Roo.bootstrap.Column.superclass.getAutoCreate.call(this)); - + cfg = { tag: 'div', cls: 'column' }; - + var settings=this; ['xs','sm','md','lg'].map(function(size){ //Roo.log( size + ':' + settings[size]); - + if (settings[size+'off'] !== false) { cfg.cls += ' col-' + size + '-offset-' + settings[size+'off'] ; } - + if (settings[size] === false) { return; } - + if (!settings[size]) { // 0 = hidden cfg.cls += ' hidden-' + size; return; } cfg.cls += ' col-' + size + '-' + settings[size]; - + }); - + if (this.hidden) { cfg.cls += ' hidden'; } - + if (this.alert && ["success","info","warning", "danger"].indexOf(this.alert) > -1) { cfg.cls +=' alert alert-' + this.alert; } - - + + if (this.html.length) { cfg.html = this.html; } @@ -101,18 +101,18 @@ fasize = ' fa-' + this.fasize + 'x'; } cfg.html = '<i class="fa fa-'+this.fa + fasize + '"></i>' + (cfg.html || ''); - - + + } if (this.icon) { cfg.html = '<i class="glyphicon glyphicon-'+this.icon + '"></i>' + (cfg.html || ''); } - + return cfg; } - + }); - + \ No newline at end of file