Color Picker - IRobot1/ng3-vr-examples GitHub Wiki
Interact to pick color and shade.

color-picker code
Inputs
Name |
Type |
Default |
Description |
colorvalue |
string |
#ff0000 |
#rrggbb text color |
popupmaterial |
Material |
Theme popup material (color gray) |
Popup panel background color. Set to override custom material |
selectable |
InteractiveObjects |
undefined |
Add to list of objects ray caster can test for overlap |
Outputs
Name |
Type |
Description |
colorpicked |
text |
Triggered when color value changed |
close |
void |
Triggered when interaction outside of picker |
Examples
<flat-ui-color-picker *ngIf="input.showpicker" [colorvalue]="input.method.text"
[position]="input.position" [rotation]="input.rotation" [selectable]="selectable"
(colorpicked)="input.method.text = $event" (close)="input.showpicker=false;input.closeinput()">
</flat-ui-color-picker>