refactor(forms): upgrade to @angular/forms

This commit is contained in:
Adam Bradley
2016-06-30 21:54:48 -05:00
parent 9b2f4a682e
commit 4d56219a4c
42 changed files with 219 additions and 249 deletions

View File

@ -1,5 +1,5 @@
import {Component} from '@angular/core';
import {ionicBootstrap, Range} from '../../../../../src';
import { Component } from '@angular/core';
import { ionicBootstrap, Range } from '../../../../../src';
@Component({
@ -13,8 +13,8 @@ class Page1 {
dualValue: any;
dualValue2 = {lower: 33, upper: 60};
rangeChange(ev: Range) {
console.log(`range, change, ratio: ${ev.ratio}, value: ${ev.value}`);
rangeChange(range: Range) {
console.log(`range, change, ratio: ${range.ratio}, value: ${range.value}`);
}
}