Skip to content

COLORPICKER

Jeff Olajos edited this page Oct 24, 2024 · 24 revisions

<COLORPICKER/> : FormField

The <COLORPICKER/> widget is a specialized widget used to display a color selector dialog (example #1).

Attributes

Name Type Default Description Req
width int / % 44 The width of the widget expressed in pixels or as a percentage of its parent.
height int / % 44 The height of the widget expressed in pixels size or as a percentage of its parent.
heading string "Color" The color pickers heading text
subheading string "Shade" The color pickers subheading text

Attributes (style)

Name Type Default Description Req
bordercolor Theme The color of the dialog's border
radius int 5 The radius of the border.
border string null "all", "none"

Methods

Name Description
show() Launches the color selector dialog.

Examples

logo See it in Action

For in-depth examples and full applications, visit fml.dev!

Other Widgets You May Find Useful:

Clone this wiki locally