Skip to Main Content
PhoneGap Build
book

PhoneGap Build

by Bintu Harwani
November 2013
Intermediate to advanced content levelIntermediate to advanced
303 pages
8h 45m
English
Auerbach Publications
Content preview from PhoneGap Build
244 ◾  PhoneGap Build
Listing 9.5 Code Written in the m y _ a p p.j s File
Ext.setup({
onReady: function() {
var message = new Ext.Container({
fullscreen: true,
items: [{
html: 'Hello World'
}]
});
}
});
Upon running the application, the Ext.setup class will set up an application and will exe-
cute the onReady function, which in turn will display the Hello World message on the
screen, as shown in Figure 9.13.
Note: e Ext.application class provides more features than the Ext.setup class while
configuring a new application.
Sencha Touch Fields
Sencha Touch supports the standard HTML field types given below:
checkboxfield
fieldset
hiddenfield
passwordfield
radiofield
selectfield
textfield
textareafield
Sencha Touch also supports the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning App Development with Parse and Phonegap

Beginning App Development with Parse and Phonegap

Wilkins Fernandez, Stephan Alber
Ajax For Dummies®

Ajax For Dummies®

PhD Steve Holzner

Publisher Resources

ISBN: 9781466589742