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