Skip to content

Instantly share code, notes, and snippets.

@swarnendude
Last active December 16, 2015 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swarnendude/5466957 to your computer and use it in GitHub Desktop.
Save swarnendude/5466957 to your computer and use it in GitHub Desktop.
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