-Ext.menu.TextItem = Ext.extend(Ext.menu.BaseItem, {
- <div id="cfg-Ext.menu.TextItem-text"></div>/**
- * @cfg {String} text The text to display for this item (defaults to '')
- */
- <div id="cfg-Ext.menu.TextItem-hideOnClick"></div>/**
- * @cfg {Boolean} hideOnClick True to hide the containing menu after this item is clicked (defaults to false)
- */
- hideOnClick : false,
- <div id="cfg-Ext.menu.TextItem-itemCls"></div>/**
- * @cfg {String} itemCls The default CSS class to use for text items (defaults to "x-menu-text")
+Ext.define('Ext.toolbar.TextItem', {
+ extend: 'Ext.toolbar.Item',
+ requires: ['Ext.XTemplate'],
+ alias: 'widget.tbtext',
+ alternateClassName: 'Ext.Toolbar.TextItem',
+
+<span id='Ext-toolbar-TextItem-cfg-text'> /**
+</span> * @cfg {String} text The text to be used as innerHTML (html tags are accepted)