Vue 3 composable for colorthief
usage
Install:
npm i vue3colorthief
import useColorThief from "vue3colorthief";
const imageSource = ref(null);
const { palette, dominantcolor, paletteSize } = useColorThief(imageSource);
usage
Install:
npm i vue3colorthief
import useColorThief from "vue3colorthief";
const imageSource = ref(null);
const { palette, dominantcolor, paletteSize } = useColorThief(imageSource);
npm i vue3colorthief
1
0.0.2
MIT
68 kB
4