-
Notifications
You must be signed in to change notification settings - Fork 4
Color Picker
anidivr edited this page Oct 30, 2022
·
3 revisions
Interact to pick color and shade.
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 |
Name | Type | Description |
---|---|---|
colorpicked | text | Triggered when color value changed |
close | void | Triggered when interaction outside of picker |
<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>