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>
|
||||
<div :class="[prefixCls + '-picker']">
|
||||
<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>
|
||||
</div>
|
||||
<div :class="[prefixCls + '-picker-hue-slider']">
|
||||
|
@ -130,6 +130,10 @@
|
|||
value: {
|
||||
type: String
|
||||
},
|
||||
saturation: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
alpha: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
|
@ -367,4 +371,4 @@
|
|||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</script>
|
||||
|
|
Loading…
Add table
Reference in a new issue