]> git.proxmox.com Git - extjs.git/blob - extjs/modern/modern/src/Title.js
add extjs 6.0.1 sources
[extjs.git] / extjs / modern / modern / src / Title.js
1 /**
2 * {@link Ext.Title} is used for the {@link Ext.Toolbar#title} configuration in the {@link Ext.Toolbar} component.
3 * @private
4 */
5 Ext.define('Ext.Title', {
6 extend: 'Ext.Component',
7 xtype: 'title',
8
9 config: {
10 /**
11 * @cfg
12 * @inheritdoc
13 */
14 baseCls: 'x-title',
15
16 /**
17 * @cfg {String} title The title text
18 */
19 title: ''
20 },
21
22 /**
23 * @private
24 */
25 updateTitle: function(newTitle) {
26 this.setHtml(newTitle);
27 }
28 });