mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
@ -49,13 +49,13 @@ export class BasicPage {
|
||||
destructiveText: 'Delete',
|
||||
titleText: 'Albums',
|
||||
cancelText: 'Cancel',
|
||||
cancel: function() {
|
||||
cancel: () => {
|
||||
console.log('Canceled');
|
||||
},
|
||||
destructiveButtonClicked: () => {
|
||||
console.log('Destructive clicked');
|
||||
},
|
||||
buttonClicked: function(index) {
|
||||
buttonClicked: (index) => {
|
||||
console.log('Button clicked', index);
|
||||
if (index == 1) { return false; }
|
||||
return true;
|
||||
|
@ -13,7 +13,7 @@ import * as helpers from '../../helpers';
|
||||
'</ion-content>',
|
||||
directives: [forwardRef(() => helpers.AndroidAttribute)],
|
||||
})
|
||||
class TabTextCtrl {
|
||||
class TabTextPage {
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
@ -28,8 +28,8 @@ class TabTextCtrl {
|
||||
})
|
||||
export class BasicPage {
|
||||
constructor() {
|
||||
this.tabOne = TabTextCtrl;
|
||||
this.tabTwo = TabTextCtrl;
|
||||
this.tabThree = TabTextCtrl;
|
||||
this.tabOne = TabTextPage;
|
||||
this.tabTwo = TabTextPage;
|
||||
this.tabThree = TabTextPage;
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ import * as helpers from '../../helpers';
|
||||
'</ion-content>',
|
||||
directives: [forwardRef(() => helpers.AndroidAttribute)],
|
||||
})
|
||||
class TabIconTextCtrl {
|
||||
class TabIconTextPage {
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
@ -29,9 +29,9 @@ class TabIconTextCtrl {
|
||||
})
|
||||
export class IconTextPage {
|
||||
constructor() {
|
||||
this.tabOne = TabIconTextCtrl;
|
||||
this.tabTwo = TabIconTextCtrl;
|
||||
this.tabThree = TabIconTextCtrl;
|
||||
this.tabFour = TabIconTextCtrl;
|
||||
this.tabOne = TabIconTextPage;
|
||||
this.tabTwo = TabIconTextPage;
|
||||
this.tabThree = TabIconTextPage;
|
||||
this.tabFour = TabIconTextPage;
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ import * as helpers from '../../helpers';
|
||||
'</ion-content>',
|
||||
directives: [forwardRef(() => helpers.AndroidAttribute)],
|
||||
})
|
||||
class TabIconCtrl {
|
||||
class TabIconPage {
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
@ -29,9 +29,9 @@ class TabIconCtrl {
|
||||
})
|
||||
export class IconPage {
|
||||
constructor() {
|
||||
this.tabOne = TabIconCtrl;
|
||||
this.tabTwo = TabIconCtrl;
|
||||
this.tabThree = TabIconCtrl;
|
||||
this.tabFour = TabIconCtrl;
|
||||
this.tabOne = TabIconPage;
|
||||
this.tabTwo = TabIconPage;
|
||||
this.tabThree = TabIconPage;
|
||||
this.tabFour = TabIconPage;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user