ColorPicker
class ColorPicker extends BaseControl
Color picker returning a hex color string (e.g. '#336699').
Methods
__construct(string|Stringable|null $label = null)
No description
setValue(mixed $value)
Sets the color value in #rrggbb format. Null resets to black (#000000).
void
loadHttpData()
Loads HTTP data.
Html|string
getControl()
Generates control's HTML element.
Details
at line 19
__construct(string|Stringable|null $label = null)
No description
at line 30
Control
setValue(mixed $value)
Sets the color value in #rrggbb format. Null resets to black (#000000).
at line 43
void
loadHttpData()
Loads HTTP data.
at line 53
Html|string
getControl()
Generates control's HTML element.