Roo/bootstrap/Img.js
[roojs1] / Roo / bootstrap / Img.js
1 /*
2  * - LGPL
3  *
4  * page contgainer.
5  * 
6  */
7
8
9 /**
10  * @class Roo.bootstrap.ButtonGroup
11  * @extends Roo.bootstrap.Component
12  * Bootstrap ButtonGroup class
13  * @cfg {string} size lg | sm | xs (default empty normal)
14  * @cfg {string} align vertical | justified  (default none)
15  * @cfg {string} direction up | down (default down)
16  * 
17  * 
18  * @constructor
19  * Create a new Input
20  * @param {Object} config The config object
21  */
22
23 Roo.bootstrap.ButtonGroup = function(config){
24     Roo.bootstrap.ButtonGroup.superclass.constructor.call(this, config);
25 };
26
27 Roo.extend(Roo.bootstrap.ButtonGroup, Roo.bootstrap.Component,  {
28     
29     imgResponsive: true,
30     border: '',
31     
32     autoCreate : {
33         cls: 'img-responsive',
34         html : null
35     },
36
37     getAutoCreate : function(){
38         
39         var cfg = Roo.apply({}, Roo.bootstrap.ButtonGroup.superclass.getAutoCreate.call(this));
40         
41         cfg.html = this.html || cfg.html;
42         
43         return cfg;
44     }
45    
46 });
47
48