8 Commits

Author SHA1 Message Date
b615c60478 fix(loading): fix loading overlay during app init
Closes #6209
2016-06-29 00:27:50 -05:00
215c6d846c refactor(overlays): inject overlay providers
BREAKING CHANGES:

- Overlay components, such as Alert or Modals, should now be created
using its injected provider.
- Overlays now have the `present()` method on the overlay’s instance,
rather than using `nav.present(overlayInstance)`.
- All overlays now present on top of all app content, to include menus.
- Below is an example of the change to `Alert`, but the pattern is the
same for all overlays: ActionSheet, Loading, Modal, Picker, Popover,
Toast

WAS:

```
import { NavController, Alert } from ‘ionic-angular’;

constructor(private nav: NavController) {
}

doAlert() {
  let alert = Alert.create({
    title: 'Alert',
  });
  this.nav.present(alert);
}
```

NOW:

```
import { AlertController } from ‘ionic-angular’;

constructor(private alertCtrl: AlertController) {
}

doAlert() {
  let alert = this.alertCtrl.create({
    title: 'Alert'
  });
  alert.present();
}
```
2016-06-28 15:18:09 -05:00
41ecfdc4ae style(navigation): fixed sass-lint error, changed function name
fixed sass-lint error, changed function name
2016-06-14 22:27:31 -05:00
a655cd78ac Feature/child nav fixes (#6907)
* fix(navigation): fixes bug where navigating to page with child-nav immediately re-enables app

fixes bug where navigating to page with child-nav immediately re-enables app

closes #6752

* test(navigation): added some additional tests

added some additional tests

* test(tabs): added multiple nested children test

added multiple nested children test
2016-06-14 15:52:24 -05:00
c18335e946 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`
2016-06-01 12:06:15 -05:00
dfa991d409 Feature/observable ext (#6670)
* refactor(nav-controller): refactor to better support dynamic component loading
2016-05-27 13:49:37 -05:00
2b836a930f chore(tests): correct components to use src path instead of ionic to ensure karma tests pass. 2016-05-19 16:58:08 -05:00
c8f760f080 chore(build): rename ionic directory to src and update all references in the build process. 2016-05-19 13:22:40 -05:00