mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
fix(range): prevent change detection exception
This commit is contained in:
@ -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}`);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user