....
listeners:{
afterrender: function(c){
c.el.on('tap', function(){
Ext.getCmp('topbar').hide();
}
}
}
})
And, when top area enclosed by
is tapped, show toolbar:
carousel = new Ext.Carousel({
listeners: {
body:{
tap: function(){
Ext.getCmp('topbar').show();
},
delegate: 'div.toparea'
}
}
});
carousel = new Ext.Carousel({
listeners: {
body:{
tap: function(){
Ext.getCmp('topbar').show();
},
delegate: 'div.toparea'
}
}
});
沒有留言:
張貼留言