0.0.6 • Published 11 months ago

vue-sketch v0.0.6

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

vue-sketch

Modified based on https://github.com/xiaokaike/vue-color to support vue3, and separate the Sketch to package.

Installation

NPM

$ npm install vue-sketch -s

Use case

<template>
  <Sketch v-model="color" @update:model-value="log"/>
</template>

<script setup lang='ts'>
import { Sketch, type ColorInput } from 'vue-sketch';
import { ref } from 'vue';
const color = ref<ColorInput>('#ffffff');
const log = () => {
  console.log(color.value);
};
</script>
0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago