-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ [Feature]: ColorPicker支持点击触发和选择分离 #2585
Comments
Title: ✨ [Feature]: ColorPicker supports click triggering and selection separation |
@STofone 没看懂你的意思,能否描述清晰一些? |
@STofone I don’t understand what you mean. Can you describe it more clearly? |
|
您是想通过通过调用组件方法来获取颜色对吗,例如 <template>
<color-picker ref="picker"/>
</template>
<script lang="ts" setup>
const picker = ref();
onMounted(()=>{
console.log(picker.value.getColor()) // 返回颜色值
})
</script> |
Do you want to get the color pair by calling a component method, e.g. <template>
<color-picker ref="picker"/>
</template>
<script lang="ts" setup>
const picker = ref();
onMounted(()=>{
console.log(picker.value.getColor()) // Return color value
})
</script> |
我想要有 图标应用按钮(支持slot)+点击选色下拉按钮 两者分开组合的组件 |
I want to have the icon application button (supports slot) + click the color selection drop-down button to combine the two components separately. |
What problem does this feature solve
触发不改变颜色的事件也需要点开panel
What does the proposed API look like
What is your project name
record tool
The text was updated successfully, but these errors were encountered: