mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
26 lines
634 B
TypeScript
26 lines
634 B
TypeScript
import {Component, ElementRef, Injectable, Renderer} from 'angular2/core';
|
|
import {NgClass, NgIf, NgFor, FORM_DIRECTIVES} from 'angular2/common';
|
|
|
|
import {OverlayController} from '../overlay/overlay-controller';
|
|
import {Config} from '../../config/config';
|
|
import {Animation} from '../../animations/animation';
|
|
import {NavParams} from '../nav/nav-controller';
|
|
import {Button} from '../button/button';
|
|
import {extend} from '../../util/util';
|
|
|
|
|
|
@Injectable()
|
|
export class Alert {
|
|
|
|
constructor(private _ctrl: OverlayController, private _config: Config) {
|
|
|
|
}
|
|
|
|
static create() {
|
|
let alert = new Alert();
|
|
|
|
return alert;
|
|
}
|
|
|
|
}
|