]> git.proxmox.com Git - sencha-touch.git/blob - src/src/Label.js
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / src / Label.js
1 /**
2 * A simple label component which allows you to insert content using {@link #html} configuration.
3 *
4 * @example miniphone
5 * Ext.Viewport.add({
6 * xtype: 'label',
7 * html: 'My label!'
8 * });
9 */
10 Ext.define('Ext.Label', {
11 extend: 'Ext.Component',
12 xtype: 'label',
13
14 config: {
15 baseCls: Ext.baseCSSPrefix + 'label'
16
17 /**
18 * @cfg {String} html
19 * The label of this component.
20 */
21 }
22 });