Feature/website overhaul (#49)
* Reorganize repo * Overhaul website design and rewrite in NextJS and Typescript * Delete website-publish.yml
This commit is contained in:
committed by
GitHub
parent
3674ee5bd8
commit
421ecf17e6
23
website/content/docs/widget-color.mdx
Normal file
23
website/content/docs/widget-color.mdx
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
group: Widgets
|
||||
title: Color
|
||||
weight: 12
|
||||
---
|
||||
|
||||
The color widget translates a color picker to a color string.
|
||||
|
||||
- **Name:** `color`
|
||||
- **UI:** color picker
|
||||
- **Data type:** string
|
||||
- **Options:**
|
||||
- `default`: accepts a string; defaults to an empty string. Sets the default value
|
||||
- `allow_input`: accepts a boolean, defaults to `false`. Allows manual editing of the color input value
|
||||
- `enable_alpha`: accepts a boolean, defaults to `false`. Enables Alpha editing
|
||||
- **Example:**
|
||||
```yaml
|
||||
- { label: 'Color', title: 'color', widget: 'color' }
|
||||
```
|
||||
- **Example:**
|
||||
```yaml
|
||||
- { label: 'Color', title: 'color', widget: 'color', enable_alpha: true, allow_input: true }
|
||||
```
|
Reference in New Issue
Block a user