Fix #6465 - drag drop for cards
[roojs1] / Roo / bootstrap / Pagination.js
1 /*
2  * - LGPL
3  *
4  * pagination
5  * 
6  */
7
8 /**
9  * @class Roo.bootstrap.Pagination
10  * @extends Roo.bootstrap.Component
11  * Bootstrap Pagination class
12  * @cfg {String} size xs | sm | md | lg
13  * @cfg {Boolean} inverse false | true
14  * 
15  * @constructor
16  * Create a new Pagination
17  * @param {Object} config The config object
18  */
19
20 Roo.bootstrap.Pagination = function(config){
21     Roo.bootstrap.Pagination.superclass.constructor.call(this, config);
22 };
23
24 Roo.extend(Roo.bootstrap.Pagination, Roo.bootstrap.Component,  {
25     
26     cls: false,
27     size: false,
28     inverse: false,
29     
30     getAutoCreate : function(){
31         var cfg = {
32             tag: 'ul',
33                 cls: 'pagination'
34         };
35         if (this.inverse) {
36             cfg.cls += ' inverse';
37         }
38         if (this.html) {
39             cfg.html=this.html;
40         }
41         if (this.cls) {
42             cfg.cls += " " + this.cls;
43         }
44         return cfg;
45     }
46    
47 });
48
49  
50
51