major doc changes
[roojs1] / Roo / bootstrap / menu / Separator.js
1  
2 /**
3  * @class Roo.bootstrap.menu.Separator
4  * @extends Roo.bootstrap.Component
5  * @licence LGPL
6  * @parent Roo.bootstrap.menu.Menu
7  * Bootstrap Separator class
8  * 
9  * @constructor
10  * Create a new Separator
11  * @param {Object} config The config object
12  */
13
14
15 Roo.bootstrap.menu.Separator = function(config){
16     Roo.bootstrap.menu.Separator.superclass.constructor.call(this, config);
17 };
18
19 Roo.extend(Roo.bootstrap.menu.Separator, Roo.bootstrap.Component,  {
20     
21     getAutoCreate : function(){
22         var cfg = {
23             tag : 'li',
24             cls: 'dropdown-divider divider'
25         };
26         
27         return cfg;
28     }
29    
30 });
31
32  
33
34