diff --git a/demo/app/home/home.component.android.html b/demo/app/home/home.component.android.html index 23a9059..d16e229 100644 --- a/demo/app/home/home.component.android.html +++ b/demo/app/home/home.component.android.html @@ -4,7 +4,7 @@ - + diff --git a/demo/app/home/home.component.ts b/demo/app/home/home.component.ts index 0ef35c0..65b558e 100644 --- a/demo/app/home/home.component.ts +++ b/demo/app/home/home.component.ts @@ -10,31 +10,31 @@ import { ListPicker } from 'ui/list-picker'; styleUrls: ['./home.component.css'], }) export class HomeComponent implements OnInit { - elevation = 2; - shape = ShapeEnum; - stdElevations: string[] = []; - androidData: AndroidData; + elevation = 2; + shape = ShapeEnum; + stdElevations: string[] = []; + androidData: AndroidData; - ngOnInit(): void { - for (const x in Elevation) { - if (isNaN(parseInt(x, 10))) { - this.stdElevations.push(x); - } + ngOnInit(): void { + for (const x in Elevation) { + if (isNaN(parseInt(x, 10))) { + this.stdElevations.push(x); } - this.androidData = this.getAndroidData(); } + this.androidData = this.getAndroidData(); + } - getAndroidData(): AndroidData { - return { - elevation: this.elevation, - bgcolor: '#ff1744', - shape: ShapeEnum.OVAL, - }; - } + getAndroidData(): AndroidData { + return { + elevation: this.elevation, + bgcolor: '#ff1744', + shape: ShapeEnum.OVAL, + }; + } - setElevation(newValue) { - const picker = newValue.object as ListPicker; - this.elevation = Elevation[this.stdElevations[picker.selectedIndex]]; - this.androidData = this.getAndroidData(); - } + setElevation(newValue) { + const picker = newValue.object as ListPicker; + this.elevation = Elevation[this.stdElevations[picker.selectedIndex]]; + this.androidData = this.getAndroidData(); + } }