mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
23 lines
406 B
TypeScript
23 lines
406 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
@Component({
|
|
templateUrl: 'page.html'
|
|
})
|
|
export class ApiDemoPage {
|
|
brightness: number = 20;
|
|
saturation: number = 0;
|
|
warmth: number = 1300;
|
|
structure: any = {lower: 33, upper: 60};
|
|
|
|
onChange(ev) {
|
|
console.log('Changed', ev);
|
|
}
|
|
}
|
|
|
|
@Component({
|
|
template: '<ion-nav [root]="root"></ion-nav>'
|
|
})
|
|
export class ApiDemoApp {
|
|
root = ApiDemoPage;
|
|
}
|