This commit is contained in:
Nick Leeman 2020-07-14 13:38:26 +02:00
parent 5bc7f152c6
commit 21ed0f3338
2 changed files with 11 additions and 1 deletions

View File

@ -9,6 +9,8 @@ import { LightsPageRoutingModule } from './lights-routing.module';
import { LightsPage } from './lights.page'; import { LightsPage } from './lights.page';
import { ColorHueModule } from 'ngx-color/hue'; import { ColorHueModule } from 'ngx-color/hue';
import { ColorShadeModule } from 'ngx-color/shade';
import { ColorGithubModule } from 'ngx-color/github';
@NgModule({ @NgModule({
@ -17,7 +19,9 @@ import { ColorHueModule } from 'ngx-color/hue';
FormsModule, FormsModule,
IonicModule, IonicModule,
LightsPageRoutingModule, LightsPageRoutingModule,
ColorHueModule ColorHueModule,
ColorShadeModule,
ColorGithubModule
], ],
declarations: [LightsPage] declarations: [LightsPage]
}) })

View File

@ -61,6 +61,12 @@
</ion-col> </ion-col>
</ion-row> </ion-row>
<ion-row>
<ion-col>
<color-shade-picker width="100%" [color]="mainBedLedColor" (onChangeComplete)="onBedLedColorChange($event)"></color-shade-picker>
</ion-col>
</ion-row>
</div> </div>
</ion-col> </ion-col>
</ion-row> </ion-row>