color-picker-line
v1.1.1
Published
<!-- * @Author: 老范 * @Date: 2024-02-29 16:17:54 * @LastEditors: 老范 * @LastEditTime: 2024-02-29 16:26:51 * @Description: 请填写简介 -->
Downloads
2
Readme
安装npm install color-picker-line
配置 main.ts:
const store = creatPinia();
app.use(store);
window.pinia = store;
演示 gif:
具体用法:
import {colorPickerLine} from 'color-picker-line';
template:
<colorPickerLine :max-number="6" :card-positions="cardPositions"/>
params: maxNumber: 最多有多少种颜色 cardPositions:色板定位属性