]>
git.proxmox.com Git - sencha-touch.git/blob - src/examples/kitchensink/app/view/Tabs.js
2 * Demonstrates a very simple tab panel with 3 tabs
4 Ext
.define('Kitchensink.view.Tabs', {
5 extend
: 'Ext.tab.Panel',
12 pack
: Ext
.filterPlatform('ie10') ? 'start' : 'center'
22 html
: 'By default, tabs are aligned to the top of a view.',
24 iconCls
: Ext
.theme
.is
.Blackberry
|| Ext
.theme
.is
.Blackberry103
|| Ext
.theme
.is
.CupertinoClassic
|| Ext
.theme
.is
.Tizen
? 'home' : null
28 html
: 'A TabPanel can use different animations by setting <code>layout.animation.</code>',
30 iconCls
: Ext
.theme
.is
.Blackberry
|| Ext
.theme
.is
.Blackberry103
|| Ext
.theme
.is
.CupertinoClassic
|| Ext
.theme
.is
.Tizen
? 'organize' : null
34 html
: '<span class="action">User tapped Tab 3</span>',
36 iconCls
: Ext
.theme
.is
.Blackberry
|| Ext
.theme
.is
.Blackberry103
|| Ext
.theme
.is
.CupertinoClassic
|| Ext
.theme
.is
.Tizen
? 'favorites' : null