fix(range): prevent change detection exception

This commit is contained in:
Adam Bradley
2016-06-01 16:11:47 -05:00
parent cffa84c97e
commit 7e4b13daaf
2 changed files with 17 additions and 17 deletions

View File

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