]>
git.proxmox.com Git - sencha-touch.git/blob - src/examples/kitchensink/app/view/Buttons.js
2 * Demonstrates a range of Button options the framework offers out of the box
4 Ext
.define('Kitchensink.view.Buttons', {
5 extend
: 'Ext.Container',
7 requires
: 'Ext.layout.VBox',
32 {ui
: 'round', text
: 'Round'},
33 {ui
: 'small', text
: 'Small'}
38 {ui
: 'decline', text
: 'Decline'},
39 {ui
: 'decline-round', text
: 'Round'},
40 {ui
: 'decline-small', text
: 'Small'}
44 items
: Ext
.os
.deviceType
.toLowerCase() == "phone" ? [
45 {ui
: 'confirm', text
: 'Confirm'},
46 {ui
: 'confirm-round', text
: 'Round'},
47 {ui
: 'confirm-small', text
: 'Small'}
49 {ui
: 'confirm', text
: 'Confirm'},
50 {ui
: 'confirm-round', text
: 'Round'},
51 {ui
: 'confirm-small', text
: 'Small'},
52 {ui
: 'back', text
: 'Back'}