mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
alert wip
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import {Injectable, Type} from 'angular2/core';
|
||||
|
||||
import {OverlayController} from '../overlay/overlay-controller';
|
||||
import {Config} from '../../config/config';
|
||||
import {Animation} from '../../animations/animation';
|
||||
import {extend} from '../../util';
|
||||
@ -42,8 +41,8 @@ import {extend} from '../../util';
|
||||
@Injectable()
|
||||
export class Modal {
|
||||
|
||||
constructor(ctrl: OverlayController, config: Config) {
|
||||
this.ctrl = ctrl;
|
||||
constructor(config: Config) {
|
||||
//this.ctrl = ctrl;
|
||||
this.config = config;
|
||||
}
|
||||
|
||||
|
@ -13,5 +13,3 @@
|
||||
<button (click)="openModalCustomAnimation()">Modal: Custom Animation</button>
|
||||
</p>
|
||||
</ion-content>
|
||||
|
||||
<ion-overlay></ion-overlay>
|
||||
|
Reference in New Issue
Block a user