Форк Rambox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
635 B

/**
* The base class that other non-interacting Toolbar Item classes should extend in order to
* get some basic common toolbar item functionality.
*/
Ext.define('Ext.toolbar.Item', {
extend: 'Ext.Component',
// Toolbar required here because we'll try to decorate it's alternateClassName
// with this class' alternate name
requires: ['Ext.toolbar.Toolbar'],
alias: 'widget.tbitem',
alternateClassName: 'Ext.Toolbar.Item',
enable:Ext.emptyFn,
disable:Ext.emptyFn,
focus:Ext.emptyFn
/**
* @cfg {String} overflowText
* Text to be used for the menu if the item is overflowed.
*/
});