mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
Working on tab bar
This commit is contained in:
@ -5,17 +5,12 @@ describe('TabBarController', function() {
|
||||
var tabEl = $('<div class="tabs"></div>');
|
||||
ctrl = new TabBarController({
|
||||
tabBar: new TabBar({
|
||||
el: tabEl.get(0),
|
||||
itemAdded: function(item) {
|
||||
},
|
||||
itemRemoved: function(item) {
|
||||
}
|
||||
el: tabEl.get(0)
|
||||
})
|
||||
});
|
||||
})
|
||||
|
||||
it('Should add Controllers', function() {
|
||||
debugger;
|
||||
ctrl.addController({
|
||||
title: 'Item 1',
|
||||
icon: 'icon-home',
|
||||
|
||||
Reference in New Issue
Block a user