update on htmlstrip

This commit is contained in:
simon 2019-04-29 08:43:29 +02:00
parent ecc9dfd56d
commit d4072f436d

View File

@ -7,9 +7,9 @@
<body ng-app="stripApp" ng-controller="stripCtrl"> <body ng-app="stripApp" ng-controller="stripCtrl">
{{data}} {{data}}
<div class="col-12" ng-repeat="led in data" style="border-style: solid;display: table"> <div class="col-12" ng-repeat="led in data" style="border-style: solid;display: table">
<div ng-repeat="(key, value) in led" <div
style="width: 60px; height: 60px; background: {{key}}; display: table-cell;"> style="width: 60px; height: 60px; background: rgb({{led['red']}}, {{led['green']}}, {{led['blue']}}); display: table-cell;">
{{value}} {{led["led"]}}
</div> </div>
</div> </div>
<script src="node_modules/angular/angular.min.js"></script> <script src="node_modules/angular/angular.min.js"></script>