]> git.proxmox.com Git - extjs.git/blame - extjs/build/examples/kitchensink/classic/samples/view/tab/SideNavigationTabs.js
add extjs 6.0.1 sources
[extjs.git] / extjs / build / examples / kitchensink / classic / samples / view / tab / SideNavigationTabs.js
CommitLineData
6527f429
DM
1/**\r
2 * This example shows navigation tabs docked to the side.\r
3 */\r
4Ext.define('KitchenSink.view.tab.SideNavigationTabs', {\r
5 extend: 'Ext.tab.Panel',\r
6 xtype: 'side-navigation-tabs',\r
7\r
8 //<example>\r
9 exampleTitle: 'Side Navigation Tabs',\r
10 otherContent: [{\r
11 type: 'Styles',\r
12 path: 'classic/sass/src/view/tab/NavigationTabs.scss'\r
13 }],\r
14 //</example>\r
15\r
16 height: 400,\r
17 width: 600,\r
18\r
19 ui: 'navigation',\r
20 tabPosition: 'left',\r
21 tabRotation: 0,\r
22 tabBar: {\r
23 // turn off borders for classic theme. neptune and crisp don't need this\r
24 // because they are borderless by default\r
25 border: false\r
26 },\r
27\r
28 defaults: {\r
29 textAlign: 'left',\r
30 bodyPadding: 15\r
31 },\r
32\r
33 items: [{\r
34 title: 'Home',\r
35 glyph: 72,\r
36 html: KitchenSink.DummyText.longText\r
37 }, {\r
38 title: 'Users',\r
39 glyph: 117,\r
40 html: KitchenSink.DummyText.extraLongText\r
41 }, {\r
42 title: 'Groups',\r
43 glyph: 85,\r
44 html: KitchenSink.DummyText.longText\r
45 }, {\r
46 title: 'Settings',\r
47 glyph: 42,\r
48 html: KitchenSink.DummyText.extraLongText\r
49 }]\r
50});