Last active
December 16, 2015 16:59
-
-
Save swarnendude/5466957 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.define('SlideNav.view.Main', { | |
extend: 'Ext.TabPanel', | |
xtype: 'main', | |
config: { | |
tabBarPosition: 'bottom', | |
items: [{ | |
title: 'Home', | |
iconCls: 'home', | |
html: ['This is a very simple example of Facebook style slide navigation. ', | |
'The component is mostly developed with CSS3 animations and a small bit of javascript code. ', | |
'Use it freely in your Sencha Touch application' | |
], | |
styleHtmlContent: true | |
}, { | |
xtype: 'titlebar', | |
title: 'Slide Nav', | |
docked: 'top', | |
items: [{ | |
align: 'left', | |
name: 'nav_btn', | |
iconCls: 'list', | |
ui: 'plain' | |
} | |
] | |
} | |
] | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment