]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.define('KitchenSink.view.navigation.Breadcrumb', {\r |
2 | extend: 'Ext.toolbar.Toolbar',\r | |
3 | xtype: 'navigation-toolbar',\r | |
4 | reference: 'navigation-toolbar',\r | |
5 | \r | |
6 | items: [{\r | |
7 | xtype: 'tool',\r | |
8 | type: 'down',\r | |
9 | tooltip: 'Switch to Tree View',\r | |
10 | listeners: {\r | |
11 | click: 'showTreeNav'\r | |
12 | }\r | |
13 | }, {\r | |
14 | xtype: 'breadcrumb',\r | |
15 | id: 'navigation-breadcrumb',\r | |
16 | reference: 'breadcrumb',\r | |
17 | bind: {\r | |
18 | selection: '{selectedView}'\r | |
19 | },\r | |
20 | flex: 1,\r | |
21 | // hide glyphs on the buttons (too busy)\r | |
22 | showIcons: false,\r | |
23 | store: 'navigation'\r | |
24 | }]\r | |
25 | });\r |