mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00

using `range-left` and `range-right` inside of `ion-range` will place the element to the left or right of the range. references #5422
19 lines
356 B
TypeScript
19 lines
356 B
TypeScript
import {Component} from '@angular/core';
|
|
import {ionicBootstrap} from 'ionic-angular';
|
|
|
|
@Component({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class ApiDemoApp {
|
|
brightness: number = 20;
|
|
saturation: number = 0;
|
|
warmth: number = 1300;
|
|
structure: any = {lower: 33, upper: 60};
|
|
|
|
onChange(ev) {
|
|
console.log("Changed", ev);
|
|
}
|
|
}
|
|
|
|
ionicBootstrap(ApiDemoApp);
|