Merge pull request #2724 from AlexanderMisel/patch-1
Add saturation property
This commit is contained in:
commit
4ffec80723
1 changed files with 6 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
||||||
v-transfer-dom>
|
v-transfer-dom>
|
||||||
<div :class="[prefixCls + '-picker']">
|
<div :class="[prefixCls + '-picker']">
|
||||||
<div :class="[prefixCls + '-picker-wrapper']">
|
<div :class="[prefixCls + '-picker-wrapper']">
|
||||||
<div :class="[prefixCls + '-picker-panel']">
|
<div v-if="saturation" :class="[prefixCls + '-picker-panel']">
|
||||||
<Saturation v-model="saturationColors" @change="childChange"></Saturation>
|
<Saturation v-model="saturationColors" @change="childChange"></Saturation>
|
||||||
</div>
|
</div>
|
||||||
<div :class="[prefixCls + '-picker-hue-slider']">
|
<div :class="[prefixCls + '-picker-hue-slider']">
|
||||||
|
@ -130,6 +130,10 @@
|
||||||
value: {
|
value: {
|
||||||
type: String
|
type: String
|
||||||
},
|
},
|
||||||
|
saturation: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
alpha: {
|
alpha: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
|
Loading…
Add table
Reference in a new issue