Skip to content

Instantly share code, notes, and snippets.

@adrianfaciu
Last active October 3, 2016 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianfaciu/94c5311a817d1315de5530a54628e872 to your computer and use it in GitHub Desktop.
Save adrianfaciu/94c5311a817d1315de5530a54628e872 to your computer and use it in GitHub Desktop.
<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