mirror of https://github.com/ElemeFE/element
Added 'change' event to ColorPicker documentation
parent
9d8fb8e0e3
commit
46fc121cb3
|
@ -68,4 +68,9 @@ ColorPicker is a color selector supporting multiple color formats.
|
||||||
| Attribute | Description | Type | Accepted Values | Default |
|
| Attribute | Description | Type | Accepted Values | Default |
|
||||||
|---------- |-------- |---------- |------------- |-------- |
|
|---------- |-------- |---------- |------------- |-------- |
|
||||||
| show-alpha | whether to display the alpha slider | boolean | — | false |
|
| show-alpha | whether to display the alpha slider | boolean | — | false |
|
||||||
| color-format | color format of v-model | string | hsl / hsv / hex / rgb | hex (when show-alpha is false)/ rgb (when show-alpha is true) |
|
| color-format | color format of v-model | string | hsl / hsv / hex / rgb | hex (when show-alpha is false)/ rgb (when show-alpha is true) |
|
||||||
|
|
||||||
|
### Events
|
||||||
|
| Event Name | Description | Parameters |
|
||||||
|
|---------|--------|---------|
|
||||||
|
| change | triggers when input value changes | color value |
|
Loading…
Reference in New Issue