refactor(lifecycle): lifecycle methods prefixed w/ ionView

BREAKING CHANGES:

- Lifecycle method prefixes have changed to `ionView`
- `onPageLoaded` renamed to `ionViewLoaded`
- `onPageWillEnter` renamed to `ionViewWillEnter`
- `onPageDidEnter` renamed to `ionViewDidEnter`
- `onPageWillLeave` renamed to `ionViewWillLeave`
- `onPageDidLeave` renamed to `ionViewDidLeave`
- `onPageWillUnload` renamed to `ionViewWillUnload`
- `onPageDidUnload` renamed to `ionViewDidUnload`
This commit is contained in:
Adam Bradley
2016-06-01 12:06:15 -05:00
parent 21753a88fe
commit c18335e946
11 changed files with 157 additions and 151 deletions

View File

@ -483,7 +483,7 @@ class PickerDisplayCmp {
this.lastClick = 0;
}
onPageLoaded() {
ionViewLoaded() {
// normalize the data
let data = this.d;
@ -563,7 +563,7 @@ class PickerDisplayCmp {
}
}
onPageDidEnter() {
ionViewDidEnter() {
let activeElement: any = document.activeElement;
if (activeElement) {
activeElement.blur();