back-color 文本背景色
设置/取消文本的背景色
使用方法
- 引入组件
ts
import { BackColorMenu } from '@kaitify/vue'
- 在
Wrapper
包裹器插槽中使用
html
<Wrapper v-model="content">
<template #before>
<BackColorMenu />
</template>
</Wrapper>
Props 参数
disabled boolean
是否禁用该菜单,默认为 false
colors string[]
自定义背景色的可选择颜色数组
popoverProps MenuPropsType['popoverProps']
浮层属性配置,同 Menu
的 popoverProps
属性