mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge remote-tracking branch 'origin/master' into es6-shims
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {App, IonicApp, Platform, ActionSheet} from 'ionic/ionic';
|
||||
import {App, IonicApp, IonicPlatform, ActionSheet} from 'ionic/ionic';
|
||||
import {Page, Config, Events} from 'ionic/ionic';
|
||||
import {ActionSheetPage} from './actionSheet/actionSheet';
|
||||
import * as helpers from './helpers';
|
||||
@@ -11,7 +11,7 @@ class DemoApp {
|
||||
|
||||
rootPage: any;
|
||||
|
||||
constructor(app: IonicApp, platform: Platform) {
|
||||
constructor(app: IonicApp, platform: IonicPlatform) {
|
||||
this.app = app;
|
||||
this.platform = platform;
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content padding class="has-header">
|
||||
<button (click)="doAlert()">Alert</button>
|
||||
<button (click)="doPrompt()">Prompt</button>
|
||||
<button (click)="doConfirm()">Confirm</button>
|
||||
<button dark (click)="doAlert()">Alert</button>
|
||||
<button light (click)="doPrompt()">Prompt</button>
|
||||
<button primary (click)="doConfirm()">Confirm</button>
|
||||
</ion-content>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user