ColorPicker - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki
<COLORPICKER/> : FormField
The <COLORPICKER/> widget is a specialized widget used to display a color selector dialog (example #1).
| Name | Type | Default | Description | Req |
|---|---|---|---|---|
| value | string | The initial color or picked color | ||
| width | int | 44 | The width of each individual color swatch in the dialog | |
| height | int | 44 | The height of each individual color swatch in the dialog | |
| heading | string | Color | The dialog heading text | |
| subheading | string | Shade | The dislog subheading text |
| Name | Description |
|---|---|
| open() | Opens the color selector dialog. |
<COLORPICKER id="cp1" value="red" heading="Choose a Color" subheading="Choose a Shade"/>
<LINK onclick="cp1.show()">
<ICON icon="palette_sharp" color="{cp1}" size="100"/>
</LINK>
