mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
alert wip
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
import {Component, Injectable, Renderer} from 'angular2/core';
|
||||
import {NgFor, NgIf} from 'angular2/common';
|
||||
|
||||
import {OverlayController} from '../overlay/overlay-controller';
|
||||
import {Config} from '../../config/config';
|
||||
import {Icon} from '../icon/icon';
|
||||
import {Animation} from '../../animations/animation';
|
||||
@ -109,8 +108,8 @@ class ActionSheetCmp {
|
||||
@Injectable()
|
||||
export class ActionSheet {
|
||||
|
||||
constructor(ctrl: OverlayController, config: Config) {
|
||||
this.ctrl = ctrl;
|
||||
constructor(config: Config) {
|
||||
//this.ctrl = ctrl;
|
||||
this.config = config;
|
||||
}
|
||||
|
||||
|
@ -2,5 +2,3 @@
|
||||
<ion-content padding>
|
||||
<button class="e2eOpenActionSheet" (click)="openActionSheet()">Open Action Sheet</button>
|
||||
</ion-content>
|
||||
|
||||
<ion-overlay></ion-overlay>
|
||||
|
Reference in New Issue
Block a user