Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<StackLayout>
<Label text="Magic Blue"></Label>
<Button (tap)="connectToMagicBlue()"
text="Connect">
</Button>
<Slider [minValue]="minValue"
[maxValue]="maxValue"
[(ngModel)]="redValue">
</Slider>
<Slider [minValue]="minValue"
[maxValue]="maxValue"
[(ngModel)]="greenValue">
</Slider>
<Slider [minValue]="minValue"
[maxValue]="maxValue"
[(ngModel)]="blueValue">
</Slider>
<Slider [minValue]="minValue"
[maxValue]="maxValue"
[(ngModel)]="whiteValue">
</Slider>
<Button (tap)="updateLightBulb()"
text="Apply">
</Button>
<StackLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.