committed by
GitHub
parent
ba1cde4e01
commit
c55d1f912f
@ -23,14 +23,25 @@ For common options, see [Common widget options](/docs/widgets#common-widget-opti
|
||||
## Examples
|
||||
|
||||
### Basic
|
||||
|
||||
<CodeTabs>
|
||||
```yaml
|
||||
name: color
|
||||
label: Color
|
||||
widget: color
|
||||
```
|
||||
|
||||
```js
|
||||
name: 'color',
|
||||
label: 'Color',
|
||||
widget: 'color',
|
||||
```
|
||||
|
||||
</CodeTabs>
|
||||
|
||||
### Kitchen Sink
|
||||
|
||||
<CodeTabs>
|
||||
```yaml
|
||||
name: color
|
||||
label: Color
|
||||
@ -38,3 +49,13 @@ widget: color
|
||||
enable_alpha: true
|
||||
allow_input: true
|
||||
```
|
||||
|
||||
```js
|
||||
name: 'color',
|
||||
label: 'Color',
|
||||
widget: 'color',
|
||||
enable_alpha: true,
|
||||
allow_input: true,
|
||||
```
|
||||
|
||||
</CodeTabs>
|
||||
|
Reference in New Issue
Block a user