HTML and CSS Reference
In-Depth Information
items: [
{
xtype: 'toolbar',
title: 'Demo App',
},{
xtype: 'panel',
padding: 10,
defaults: {
margin: 10
}
items: [
{
xtype: 'panel',
html: 'Meine erste <b>Sencha-App</b>'
},
{
xtype: 'button',
text: 'Normaler Button'
},
{
xtype: 'button',
ui: 'decline',
text: 'Klick mich nicht!',
iconCls: 'action',
iconMask: true,
handler: function() {
Ext.Msg.alert('Booom!','Du hast ja doch geklickt.',Ext.emptyFn);
}
}
]
}
]
});
}
});
Probieren Sie Ihre App auf verschiedenen Geräten aus - Sie werden feststellen, dass
sie ohne weitere Anpassungen auf iPhone und iPad funktioniert, selbst auf Android-
Geräten und Blackberrys läuft sie zuverlässig. Besonders wenn Sie für mehrere Platt-
formen Apps entwickeln, sind Frameworks eine extreme Arbeitserleichterung.
Natürlich können wir in diesem Buch nur einen Bruchteil der Möglichkeiten des Fra-
meworks beleuchten. Eine vollständige Dokumentation in englischer Sprache finden
Sie unter http://docs.sencha.com/touch/2-0/ (Abbildung 8.26).
Search WWH ::




Custom Search