mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
16 lines
269 B
TypeScript
16 lines
269 B
TypeScript
import {App} from 'ionic-angular';
|
|
|
|
@App({
|
|
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);
|
|
}
|
|
}
|