mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(angular): update to angular 2.0.0-rc.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {Component, Optional, ElementRef, Renderer, Input, Output, Provider, forwardRef, EventEmitter, HostListener, ContentChildren, QueryList, ViewEncapsulation} from 'angular2/core';
|
||||
import {NG_VALUE_ACCESSOR} from 'angular2/common';
|
||||
import {Component, Optional, ElementRef, Renderer, Input, Output, Provider, forwardRef, EventEmitter, HostListener, ContentChildren, QueryList, ViewEncapsulation} from '@angular/core';
|
||||
import {NG_VALUE_ACCESSOR} from '@angular/common';
|
||||
|
||||
import {Alert} from '../alert/alert';
|
||||
import {ActionSheet} from '../action-sheet/action-sheet';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {App, Page} from '../../../../../ionic';
|
||||
import {Control, ControlGroup} from 'angular2/common';
|
||||
import {Control, ControlGroup} from '@angular/common';
|
||||
|
||||
|
||||
@Page({
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<ion-item>
|
||||
<ion-label>Pets</ion-label>
|
||||
<ion-select [(ngModel)]="pets" multiple>
|
||||
<ion-option *ngFor="#o of petOptions" [value]="o.value">{{o.text}}</ion-option>
|
||||
<ion-option *ngFor="let o of petOptions" [value]="o.value">{{o.text}}</ion-option>
|
||||
</ion-select>
|
||||
</ion-item>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {NgFor} from 'angular2/common';
|
||||
import {NgFor} from '@angular/common';
|
||||
|
||||
import {App, Page} from '../../../../../ionic';
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
<ion-option value="12">December</ion-option>
|
||||
</ion-select>
|
||||
<ion-select [(ngModel)]="year">
|
||||
<ion-option *ngFor="#yr of years">{{yr}}</ion-option>
|
||||
<ion-option *ngFor="let yr of years">{{yr}}</ion-option>
|
||||
</ion-select>
|
||||
</ion-item>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user