color_picker
This type represents a color picker control.
This type inherits control
type. All of its base methods and fields are also available in this type.
__call
Constructs the color picker.
Arguments
Name
Type
Description
id
Control ID.
allow_alpha
bool
Whether to enable alpha channel. Defaults to true
.
Returns
Type
Description
color_picker
Color picker object.
Example
get_value
Returns color picker' value.
Arguments
None.
Returns
Type
Description
Value data.
Example
Last updated