Skip to content

Instantly share code, notes, and snippets.

@TimGeyssens
Created August 13, 2020 14:52
Show Gist options
  • Save TimGeyssens/0169e8718f61ff9961f3d8249731868a to your computer and use it in GitHub Desktop.
Save TimGeyssens/0169e8718f61ff9961f3d8249731868a to your computer and use it in GitHub Desktop.
<div ng-controller="Custom.ThemaColorPickerController">
<ul style="list-style: none;">
<li ng-repeat="color in colors">
<label >
<input type="radio" name="pageNumber" ng-model="model.value" ng-value="color.Name" /> {{color.Name}}
<div style="display:block;height:30px;width:30px;background-color:{{color.Code}};border:1px #000 solid;float:left;margin-right:10px;"></div>
</label><br/>
</li>
</ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment