Created
March 8, 2013 15:10
-
-
Save jbuda/5117070 to your computer and use it in GitHub Desktop.
Sencha controller for handling a container part of a navigation stack that shows hides tab bar
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 'TestApp.controller.Item' | |
extend: 'Ext.app.Controller' | |
config: | |
refs: | |
newsPanel:'newspanel' | |
newsItem:'newsitem' | |
mainPanel:'maintoolbar' | |
control: | |
newsPanel: | |
back:'clickBackEvent' | |
'show':(record)-> | |
this.getNewsPanel().push(xtype:'newsitem') | |
this.getMainPanel().getTabBar().hide() | |
'clickBackEvent':(button)-> | |
this.getMainPanel().getTabBar().show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment