5 Commits

Author SHA1 Message Date
466dea310b feat(loading): add ability to pass multiple classes to cssClass
references #7618
2016-08-09 16:15:58 -04:00
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
5bbe31a69f fix(loading): clear timeout if dismissed before timeout fires 2016-07-07 13:00:12 -05:00
656426672c chore(templates): import required directives for ionic templates 2016-07-01 00:59:37 -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