Docs
API
  • menu

    Array

    Enables menu for button.

    Example

    
    subTBar: [{
      type: 'button',
      text: 'Button',
      menu: [{
    	text: 'Text 1',
    	handler: function(){
    	  
    	}
      },{
    	text: 'Text 2',
    	handler: function(){
    	  
    	}
      }]
    },{
      type: 'button',
      text: 'Button 2',
      menu: [{
    	text: 'Text 1',
    	handler: function(){
    	  
    	}
      },{
    	text: 'Text 2',
    	handler: function(){
    	  
    	},
    	items: [{
    	  text: 'Text 1',
    	  handler: function(){
    	  
    	  }
    	},{
    	  text: 'Text 2',
    	  handler: function(){
    	  
    	  }
    	}]
      }]
    }],
    

    Default

    
    undefined
    

    See also

    Doc Menu