mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
refactor(forms): upgrade to @angular/forms
This commit is contained in:
@ -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}`);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user